mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-02-20 04:57:50 +08:00
Web search broke due to missing file(s)
Need to make sure /config/customtags.txt and /config/smartsearches.txt files exist or it can break the web search. This ensures that the files exist.
This commit is contained in:
parent
0495177c3c
commit
2b35158cd6
@ -31,7 +31,7 @@ if [ ! -f "/app/diskover-web/public/index.php" ]; then
|
||||
ln -s dashboard.php index.php
|
||||
fi
|
||||
|
||||
if [ ! -f "/config/smartsearches.txt.sample" ]; then
|
||||
if [ ! -f "/config/smartsearches.txt" ]; then
|
||||
cp /app/diskover-web/public/smartsearches.txt.sample /config/smartsearches.txt
|
||||
fi
|
||||
|
||||
@ -39,8 +39,8 @@ if [ ! -f "/app/diskover-web/public/smartsearches.txt" ]; then
|
||||
ln -s /config/smartsearches.txt /app/diskover-web/public/smartsearches.txt
|
||||
fi
|
||||
|
||||
if [ ! -f "/config/customtags.txt.sample" ]; then
|
||||
cp /app/diskover-web/public/customtags.txt.sample /config/customtags.txt.sample
|
||||
if [ ! -f "/config/customtags.txt" ]; then
|
||||
cp /app/diskover-web/public/customtags.txt.sample /config/customtags.txt
|
||||
fi
|
||||
|
||||
if [ ! -f "/app/diskover-web/public/customtags.txt" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user