wok rev 18582
Tiny fixes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 11 21:14:28 2015 +0200 (2015-11-11) |
parents | f1d1e72d5dac |
children | 32cd19a15111 |
files | fontconfig/receipt lxpanel/receipt slitaz-base-files/receipt xorg-base-fonts/receipt |
line diff
1.1 --- a/fontconfig/receipt Wed Nov 11 15:20:53 2015 +0100 1.2 +++ b/fontconfig/receipt Wed Nov 11 21:14:28 2015 +0200 1.3 @@ -53,5 +53,10 @@ 1.4 1.5 ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf \ 1.6 $fs/etc/fonts/conf.d 1.7 + 1.8 + # Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading 1.9 + # configurations from ~/.fonts.conf is deprecated. 1.10 + sed '/~\/\.fonts\.conf</d' $fs/usr/share/fontconfig/conf.avail/50-user.conf 1.11 + 1.12 chown -R root.root $fs 1.13 }
2.1 --- a/lxpanel/receipt Wed Nov 11 15:20:53 2015 +0100 2.2 +++ b/lxpanel/receipt Wed Nov 11 21:14:28 2015 +0200 2.3 @@ -76,3 +76,11 @@ 2.4 cp -a $install/usr/share/lxpanel/ui $fs/usr/share/lxpanel 2.5 cp -a $install/usr/share/lxpanel/x* $fs/usr/share/lxpanel 2.6 } 2.7 + 2.8 +post_install() 2.9 +{ 2.10 + # clean LXPanel menu caches 2.11 + for i in /home/*/.cache/menus; do 2.12 + [ -d "$i" ] && rm $i/* 2.13 + done 2.14 +}
3.1 --- a/slitaz-base-files/receipt Wed Nov 11 15:20:53 2015 +0100 3.2 +++ b/slitaz-base-files/receipt Wed Nov 11 21:14:28 2015 +0200 3.3 @@ -106,6 +106,7 @@ 3.4 [ -x "$1/usr/bin/sudo" ] && mv "$1/usr/bin/sudo" "$1/usr/bin/sudo.orig" 3.5 # Remove old /var/run symlink 3.6 [ -h "$1/var/run" ] && rm -f "$1/var/run" 3.7 + : 3.8 } 3.9 3.10 post_install()
4.1 --- a/xorg-base-fonts/receipt Wed Nov 11 15:20:53 2015 +0100 4.2 +++ b/xorg-base-fonts/receipt Wed Nov 11 21:14:28 2015 +0200 4.3 @@ -23,10 +23,9 @@ 4.4 $fontpath/fonts.dir 4.5 } 4.6 4.7 -# Execute fc-cache when the package finish ti install. 4.8 +# Execute fc-cache when the package finish to install. 4.9 post_install() 4.10 { 4.11 - local root 4.12 - root=$1 4.13 - chroot $root/ /usr/bin/fc-cache 4.14 + # It may be segfault without -f or -r 4.15 + chroot $1/ /usr/bin/fc-cache -r 4.16 }