cleanup: no need to edit phpsysinfo.ini, change it in the repo
This commit is contained in:
@@ -220,10 +220,6 @@ if grep -q 'php7.4-' /etc/caddy/Caddyfile &>/dev/null; then
|
||||
sed -i 's/php7.4-/php-/' /etc/caddy/Caddyfile
|
||||
fi
|
||||
|
||||
if grep -q '^HIDE_MOUNTS.*\/run\/user' $HOME/BirdNET-Pi/templates/phpsysinfo.ini; then
|
||||
sed -i 's#/run/user/[0-9]\+#/run/user/[0-9]+#g' $HOME/BirdNET-Pi/templates/phpsysinfo.ini
|
||||
fi
|
||||
|
||||
if ! [ -L /etc/avahi/services/http.service ];then
|
||||
# symbolic link does not work here, so just copy
|
||||
cp -f $HOME/BirdNET-Pi/templates/http.service /etc/avahi/services/
|
||||
|
||||
Reference in New Issue
Block a user