slitaz-tools rev 318
Fix taxctrlbox: rmdir only remove empty directories.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Mar 16 16:52:44 2009 +0100 (2009-03-16) |
parents | af65458ca488 |
children | c60fa66fdbc7 |
files | tinyutils/tazctrlbox |
line diff
1.1 --- a/tinyutils/tazctrlbox Tue Mar 10 20:19:52 2009 +0000 1.2 +++ b/tinyutils/tazctrlbox Mon Mar 16 16:52:44 2009 +0100 1.3 @@ -155,7 +155,7 @@ 1.4 <action>adduser -D $NEW_USER</action> 1.5 <action>echo "$NEW_USER:$PASSWD" | chpasswd</action> 1.6 <action>adduser -G audio $NEW_USER</action> 1.7 - <action>rmdir /home/$NEW_USER</action> 1.8 + <action>rm -rf /home/$NEW_USER</action> 1.9 <action>cp -a /etc/skel /home/$NEW_USER</action> 1.10 <action>cp /root/.xinitrc /home/$NEW_USER</action> 1.11 <action>chown -R $NEW_USER:$NEW_USER /home/$NEW_USER</action>