mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
try
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 && \
|
||||
@@ -77,7 +77,7 @@ RUN \
|
||||
# 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
|
||||
sudo -u "$USER" /./newinstaller.sh && \
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
"slug": "birdnet-pi",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
|
||||
"usb": true,
|
||||
"version": "1.3",
|
||||
"version": "1.1",
|
||||
"video": true,
|
||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:80]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user