This commit is contained in:
Alexandre
2024-12-06 21:20:32 +01:00
committed by GitHub
parent 17c4225531
commit 7194d1efb9

View File

@@ -1,15 +1,7 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
#################
# Set structure #
#################
mkdir -p /config/storage
cp -rf /var/www/html/storage/* /config/storage/
rm -r /var/www/html/storage
ln -sf /config/storage /var/www/html/storage
chown -R www-data:www-data /config
set -e
set +u
###################
# Define database #