mambawelcome.sh: remove user 'liveuser' as it fails to be removed during first stage install when livecd-tools package is removed

This commit is contained in:
Silvan Calarco 2013-06-11 14:05:55 +02:00
parent b51a394544
commit 1b58b70c0f

View File

@ -72,6 +72,7 @@ dcop_write $"Configuring users and host..." 50
echo $"Configuring users and host" | tee -a $LOG_FILE echo $"Configuring users and host" | tee -a $LOG_FILE
# configure user # configure user
[ "$INSTALL_USER" ] && { [ "$INSTALL_USER" ] && {
userdel -rf liveuser
useradd $INSTALL_USER \ useradd $INSTALL_USER \
-c "$INSTALL_USER_FULLNAME" \ -c "$INSTALL_USER_FULLNAME" \
-G audio,filesharing,sysadmin,packager,lpadmin,video,nopermfs || { -G audio,filesharing,sysadmin,packager,lpadmin,video,nopermfs || {