base-files: reduce number of `mkdir` calls
authorPaul Spooren <mail@aparcar.org>
Sun, 12 Sep 2021 08:46:06 +0000 (22:46 -1000)
committerPaul Spooren <mail@aparcar.org>
Fri, 24 Sep 2021 07:40:52 +0000 (21:40 -1000)
commit70543aafb29a79613ac9b49ec41e51e42fa598ac
tree075e4aec782e413e3e86dfab8f77200c02a51fff
parent9c331a6a91e870a1dc31f563333105e959f8b171
base-files: reduce number of `mkdir` calls

The `mkdir` commands supports passing multiple arguments to batch create
multiple folders, instead of calling the tool every single time.

If the creation of one of the folders fails, all other folder are still
created and therefore doesn't change the error handling.

Also stop creating `/etc/` explicitly after subfolders of `/etc/` were
already created.

Signed-off-by: Paul Spooren <mail@aparcar.org>
package/base-files/Makefile