mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 00:01:36 +01:00
s root
This commit is contained in:
@@ -61,7 +61,7 @@ RUN \
|
||||
sed -i "1a /./newinstallermod.sh && rm /newinstallermod.sh" /newinstaller.sh && \
|
||||
echo '#!/bin/bash' >> /newinstallermod.sh && \
|
||||
# Remove all instances of sudo from all other scripts
|
||||
#echo 'for file in $(grep -srl "sudo" $HOME/BirdNET-Pi/scripts); do sed -i "s|sudo ||" "$file"; done' >> /newinstallermod.sh && \
|
||||
echo 'for file in $(grep -srl "sudo" $HOME/BirdNET-Pi/scripts); do sed -i "s|sudo ||" "$file"; done' >> /newinstallermod.sh && \
|
||||
echo 'for file in $(grep -srl "my_dir" $HOME/BirdNET-Pi/scripts); do sed -i "s|\$my_dir|/config|" "$file"; done' >> /newinstallermod.sh && \
|
||||
# Disable pulseaudio
|
||||
echo 'for file in $(grep -srl "pulseaudio --start" $HOME/BirdNET-Pi/scripts); do sed -i "/pulseaudio --start/d" "$file"; done' >> /newinstallermod.sh && \
|
||||
@@ -80,7 +80,7 @@ RUN \
|
||||
sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
|
||||
\
|
||||
# Execute installer
|
||||
sudo -u "$USER" /./newinstaller.sh && \
|
||||
/./newinstaller.sh && \
|
||||
\
|
||||
# Adapt for lsio usage of /app
|
||||
if [ -d /app ]; then rm -r /app; fi && \
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
"slug": "birdnet-pi",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
|
||||
"usb": true,
|
||||
"version": "1.1",
|
||||
"version": "1.2",
|
||||
"video": true,
|
||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:80]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user