the php code no longer needs uid==1000

This commit is contained in:
frederik
2025-03-13 12:07:56 +01:00
parent ffca186325
commit 6d5b18e959
-7
View File
@@ -25,13 +25,6 @@ if ! sudo -n true; then
exit
fi
# the php code expects the user with uid 1000 on this system
PRIMARY=$(awk -F: '/1000/{print $1}' /etc/passwd)
if [ $USER != $PRIMARY ]; then
echo "Current user \"$USER\" does not match the user with uid 1000 on this system \"$PRIMARY\". Aborting"
exit
fi
# Simple new installer
HOME=$HOME
USER=$USER