This commit is contained in:
Alexandre
2024-04-27 18:17:55 +02:00
parent 7d1dd885f1
commit cf16c285d1
2 changed files with 3 additions and 3 deletions

View File

@@ -75,10 +75,10 @@ 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 pi /./newinstaller.sh && \
/./newinstaller.sh && \
\
# Adapt for lsio usage of /app
if [ -d /app ]; then rm -r /app; fi && \