install.sh aktualisiert
This commit is contained in:
parent
3d9b0b72d3
commit
5588f324e2
@ -8,8 +8,9 @@ which sudo >/dev/null 2>&1 || su -c "sed -i '/cdrom/d' /etc/apt/sources.list ; a
|
||||
if ! id | grep -q '(sudo)'
|
||||
then
|
||||
su -c "/usr/sbin/usermod -a -G sudo ${USER}"
|
||||
# use sudo group without
|
||||
exec sg sudo
|
||||
# use sudo group and restart this script
|
||||
sg sudo -c $0
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user