slitaz-boot-scripts rev 97
bootopts.sh: sed user desktop files to get correct paths
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 11 18:45:01 2008 +0200 (2008-06-11) |
parents | f54edda7c5fb |
children | 80022089ebe5 |
files | etc/init.d/bootopts.sh |
line diff
1.1 --- a/etc/init.d/bootopts.sh Tue Jun 10 16:26:13 2008 +0200 1.2 +++ b/etc/init.d/bootopts.sh Wed Jun 11 18:45:01 2008 +0200 1.3 @@ -95,6 +95,11 @@ 1.4 # /home/$USER files from /etc/skel. 1.5 if [ -d /etc/skel ]; then 1.6 cp -a /etc/skel /home/$USER 1.7 + # Path for user dektop files. 1.8 + for i in /home/$USER/.local/share/applications/*.desktop 1.9 + do 1.10 + sed -i s/"user_name"/"$USER"/g $i 1.11 + done 1.12 else 1.13 mkdir -p /home/$USER 1.14 fi