🚑 Remove bad grep check

This commit is contained in:
Timmo 2019-09-14 22:56:51 +01:00
parent e09866c31a
commit fd47050d0e

View file

@ -8,7 +8,5 @@ if [ "$(grep -i 'API_AUTH_SECRET' /opt/panel/config/default.json)" = 0 ]; then
sed -i -e "s/API_AUTH_SECRET/$(openssl rand -base64 32)/g" /opt/panel/config/default.json
fi
if [ "$(grep -i '../db' /opt/panel/config/default.json)" = 0 ]; then
# Force database to use /data
sed -i "s#../db#/data#g" /opt/panel/config/default.json
fi
# Force database to use /data
sed -i "s#../db#/data#g" /opt/panel/config/default.json