wok rev 18815
lxpanel: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 15 16:27:43 2016 +0100 (2016-01-15) |
parents | cc044c37d3ba |
children | 486dbfc17892 |
files | lxpanel/receipt syslinux/stuff/iso2exe/iso2exe.sh |
line diff
1.1 --- a/lxpanel/receipt Thu Jan 14 22:11:10 2016 +0100 1.2 +++ b/lxpanel/receipt Fri Jan 15 16:27:43 2016 +0100 1.3 @@ -80,7 +80,7 @@ 1.4 post_install() 1.5 { 1.6 # clean LXPanel menu caches 1.7 - for i in /home/*/.cache/menus; do 1.8 + for i in $1/home/*/.cache/menus; do 1.9 [ -d "$i" ] && rm $i/* 1.10 done 1.11 }
2.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh Thu Jan 14 22:11:10 2016 +0100 2.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Fri Jan 15 16:27:43 2016 +0100 2.3 @@ -34,14 +34,14 @@ 2.4 add_rootfs() 2.5 { 2.6 TMP=/tmp/iso2exe$$ 2.7 - mkdir -p $TMP/bin $TMP/dev 2.8 + mkdir -p $TMP/dev 2.9 cp -a /dev/tty /dev/tty0 $TMP/dev 2.10 $0 --get init > $TMP/init.exe 2.11 # mount -o loop,ro $1 $TMP 2.12 # oldslitaz="$(ls $TMP/boot/isolinux/splash.lss 2> /dev/null)" 2.13 # umount -d $TMP 2.14 # [ "$oldslitaz" ] && # for SliTaz <= 3.0 only... 2.15 -# grep -q mount.posixovl.iso2exe $TMP/init.exe && 2.16 +# grep -q mount.posixovl.iso2exe $TMP/init.exe && mkdir $TMP/bin && 2.17 # cp /usr/sbin/mount.posixovl $TMP/bin/mount.posixovl.iso2exe \ 2.18 # 2> /dev/null && echo "Store mount.posixovl ($(wc -c \ 2.19 # < /usr/sbin/mount.posixovl) bytes) ..."