# HG changeset patch # User Christophe Lincoln # Date 1307453637 -7200 # Node ID 893e0399ab12b9caa6c96cb2f467fd6a4ab51b11 # Parent 9bdcc1ee667ac76d5776c1b965448b3cdad8333e tank: small fix to adduser diff -r 9bdcc1ee667a -r 893e0399ab12 tank/tank --- a/tank/tank Fri Apr 22 15:42:10 2011 +0000 +++ b/tank/tank Tue Jun 07 15:33:57 2011 +0200 @@ -1,5 +1,5 @@ #!/bin/sh -# Taztank - Admin Tank, backup, update and give stats. +# Tank - Admin Tank, backup, update and give stats. # # (C) 2011 SliTaz - GNU General Public License. # Author: Christophe Lincoln @@ -164,7 +164,7 @@ echo -n "Hg password: " && read passwd echo "$user:$passwd" >> /etc/lighttpd/plain.passwd # Public dir at http://people.slitaz.org/~$user/ - cp -a /usr/share/tank/Public /home/$user/Public + cp -a /usr/share/tank/Public/* /home/$user/Public sed -i s/'%user%'/"$user"/ /home/$user/Public/index.html # README and empty Shell profile cp -a /usr/share/tank/README /home/$user/