Add sudo again

This commit is contained in:
Alexandre
2024-04-27 10:57:45 +02:00
parent 59885f733d
commit e111e32d21
2 changed files with 4 additions and 2 deletions

View File

@@ -74,8 +74,10 @@ RUN \
sed -i "/reboot/d" /newinstaller.sh && \
# Use apt-get as without user action
sed -i "s|apt |apt-get |g" /newinstaller.sh && \
# Ensure chmod
sed -i "/git clone/a chown -R 1000:1000 $HOME" /newinstaller.sh && \
# Remove all instances of sudo from the newinstaller
sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
#sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
\
# Execute installer
/./newinstaller.sh && \

View File

@@ -96,7 +96,7 @@
"startup": "application",
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
"usb": true,
"version": "1.0",
"version": "1.1",
"video": true,
"webui": "[PROTO:ssl]://[HOST]:[PORT:80]"
}