wok-next rev 14651

get-libaacs: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 04 12:23:01 2013 +0200 (2013-06-04)
parents 5e2886317a11
children b60a85922696
files get-libaacs/stuff/get-libaacs
line diff
     1.1 --- a/get-libaacs/stuff/get-libaacs	Tue Jun 04 11:51:18 2013 +0200
     1.2 +++ b/get-libaacs/stuff/get-libaacs	Tue Jun 04 12:23:01 2013 +0200
     1.3 @@ -52,16 +52,16 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	for i in $1/home/*/.config ; do
     1.8 -		[ -d $i ] || continue
     1.9 -		cp -a $1/etc/skel/.config/aacs $i
    1.10 -		chown -R $(stat -c '%u.%g' $i) $i/aacs
    1.11 +	for i in \$1/home/*/.config ; do
    1.12 +		[ -d \$i ] || continue
    1.13 +		cp -a \$1/etc/skel/.config/aacs \$i
    1.14 +		chown -R \$(stat -c '%u.%g' \$i) \$i/aacs
    1.15  	done
    1.16  }
    1.17  
    1.18  pre_remove()
    1.19  {
    1.20 -	rm -rf $1/home/*/.config/aacs
    1.21 +	rm -rf \$1/home/*/.config/aacs
    1.22  }
    1.23  EOT
    1.24