slitaz-forge rev 75
tank: small fix to adduser
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jun 07 15:33:57 2011 +0200 (2011-06-07) |
parents | 9bdcc1ee667a |
children | a3a70403f3a9 |
files | tank/tank |
line diff
1.1 --- a/tank/tank Fri Apr 22 15:42:10 2011 +0000 1.2 +++ b/tank/tank Tue Jun 07 15:33:57 2011 +0200 1.3 @@ -1,5 +1,5 @@ 1.4 #!/bin/sh 1.5 -# Taztank - Admin Tank, backup, update and give stats. 1.6 +# Tank - Admin Tank, backup, update and give stats. 1.7 # 1.8 # (C) 2011 SliTaz - GNU General Public License. 1.9 # Author: Christophe Lincoln <pankso@slitaz.org> 1.10 @@ -164,7 +164,7 @@ 1.11 echo -n "Hg password: " && read passwd 1.12 echo "$user:$passwd" >> /etc/lighttpd/plain.passwd 1.13 # Public dir at http://people.slitaz.org/~$user/ 1.14 - cp -a /usr/share/tank/Public /home/$user/Public 1.15 + cp -a /usr/share/tank/Public/* /home/$user/Public 1.16 sed -i s/'%user%'/"$user"/ /home/$user/Public/index.html 1.17 # README and empty Shell profile 1.18 cp -a /usr/share/tank/README /home/$user/