Create 01-folders

This commit is contained in:
Alexandre
2021-08-31 13:29:57 +02:00
committed by GitHub
parent 32d686b3ba
commit c4715efade

View File

@@ -0,0 +1,12 @@
#!/usr/bin/with-contenv bash
##################
# SYMLINK CONFIG #
##################
# If config doesn't exist, create it
if [ ! -d /data/config ]; then
mv /gallery/local/config /data
mkdir -p /gallery/local/config
ln -s /data/config /gallery/local/config
fi