mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-04 19:01:21 +00:00
🚑 Remove bad grep check
This commit is contained in:
parent
e09866c31a
commit
fd47050d0e
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue