# HG changeset patch # User Christophe Lincoln # Date 1333833499 -7200 # Node ID c052387a4a14e9adf223511eaa57624f7b6499af # Parent e47c51ce343600375fc883bd8589705534331c2a tank: directly use real name diff -r e47c51ce3436 -r c052387a4a14 tank/files/etc/skel/Public/profile.php --- a/tank/files/etc/skel/Public/profile.php Sat Apr 07 23:15:44 2012 +0200 +++ b/tank/files/etc/skel/Public/profile.php Sat Apr 07 23:18:19 2012 +0200 @@ -4,7 +4,7 @@ // be located at ~/Public/profile.php. You must at least provide your real // name and you can use the $wall variable for a personal message. -$name = "Real Name"; +$name = "%name%"; $location = ""; $scn_user = ""; $skills = ""; diff -r e47c51ce3436 -r c052387a4a14 tank/tank --- a/tank/tank Sat Apr 07 23:15:44 2012 +0200 +++ b/tank/tank Sat Apr 07 23:18:19 2012 +0200 @@ -115,6 +115,7 @@ #echo "$user:$passwd" >> /etc/lighttpd/plain.passwd # Public dir at http://people.slitaz.org/~$user/ sed -i s/'%user%'/"$user"/ /home/$user/Public/index.html + sed -i s/'%name%'/"$gecos"/ /home/$user/Public/config.php # Empty Shell profile cat > /home/$user/.profile << EOF # ~/.profile: Executed by Bourne-compatible login SHells.