diff options
author | Himbeer <himbeer@disroot.org> | 2024-08-28 23:43:41 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-08-28 23:43:41 +0200 |
commit | 3848ac7b8566a3b9eff80cf85c433e3316d7109a (patch) | |
tree | c07f35b356ba45b594882b3edcb4d4b8503a31ad /install.sh | |
parent | b68669fb6629bcc4a1f34e032190133c5563b56d (diff) |
Automatically create and remove configuration file parent directories
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,10 @@ source /srv/www/lib.sh +for DIR in ${DIRS}; do + mkdir -p "${DIR}" +done + for FILE in ${FILES}; do ln -sf "/srv/www/sys/${FILE}" "/${FILE}" done |