mirror of
https://github.com/linuxserver/docker-heimdall.git
synced 2025-10-27 11:13:41 +09:00
Spacing
This commit is contained in:
@@ -19,8 +19,8 @@ if [[ -f /heimdall/heimdall.tar.gz ]]; then
|
|||||||
cp /app/www/storage/app/searchproviders.yaml /app/www/storage/app/searchproviders.yaml.orig
|
cp /app/www/storage/app/searchproviders.yaml /app/www/storage/app/searchproviders.yaml.orig
|
||||||
chown -R abc:abc /app/www
|
chown -R abc:abc /app/www
|
||||||
fi
|
fi
|
||||||
# create symlinks
|
|
||||||
|
|
||||||
|
# create symlinks
|
||||||
symlinks=(
|
symlinks=(
|
||||||
/app/www/storage/app/public/avatars
|
/app/www/storage/app/public/avatars
|
||||||
/app/www/storage/app/public/backgrounds
|
/app/www/storage/app/public/backgrounds
|
||||||
@@ -30,7 +30,6 @@ symlinks=(
|
|||||||
/app/www/database/app.sqlite
|
/app/www/database/app.sqlite
|
||||||
/app/www/.env
|
/app/www/.env
|
||||||
)
|
)
|
||||||
|
|
||||||
for i in "${symlinks[@]}"; do
|
for i in "${symlinks[@]}"; do
|
||||||
if [[ -e "${i}" && ! -L "${i}" ]]; then
|
if [[ -e "${i}" && ! -L "${i}" ]]; then
|
||||||
rm -rf "${i}"
|
rm -rf "${i}"
|
||||||
@@ -46,12 +45,14 @@ if [[ ! -f /config/www/.env ]]; then
|
|||||||
echo "Creating app key. This may take a while on slower systems"
|
echo "Creating app key. This may take a while on slower systems"
|
||||||
php /app/www/artisan key:generate
|
php /app/www/artisan key:generate
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# copy searchproviders if not exists and symlink
|
# copy searchproviders if not exists and symlink
|
||||||
if [[ ! -f /config/www/searchproviders.yaml ]]; then
|
if [[ ! -f /config/www/searchproviders.yaml ]]; then
|
||||||
cp /app/www/storage/app/searchproviders.yaml.orig /config/www/searchproviders.yaml
|
cp /app/www/storage/app/searchproviders.yaml.orig /config/www/searchproviders.yaml
|
||||||
fi
|
fi
|
||||||
rm -rf /app/www/storage/app/searchproviders.yaml
|
rm -rf /app/www/storage/app/searchproviders.yaml
|
||||||
ln -s /config/www/searchproviders.yaml /app/www/storage/app/searchproviders.yaml
|
ln -s /config/www/searchproviders.yaml /app/www/storage/app/searchproviders.yaml
|
||||||
|
|
||||||
# set queue driver to database
|
# set queue driver to database
|
||||||
sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env
|
sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user