wok diff libQtGui/receipt @ rev 24098

Up hplip (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 14 08:03:53 2021 +0000 (2021-09-14)
parents 486dbfc17892
children cb67b4f8be05
line diff
     1.1 --- a/libQtGui/receipt	Fri Jan 15 17:18:19 2016 +0100
     1.2 +++ b/libQtGui/receipt	Tue Sep 14 08:03:53 2021 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libQtGui"
     1.7 -VERSION="4.8.6"
     1.8 +VERSION="4.8.7"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Qt Gui Library"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12 @@ -23,8 +23,9 @@
    1.13  	cp -a $install/usr/lib/qt/plugins/imageformats/libqjpeg.so $fs/usr/lib/qt/plugins/imageformats
    1.14  	cp -a $install/usr/lib/qt/plugins/imageformats/libqgif.so $fs/usr/lib/qt/plugins/imageformats
    1.15  
    1.16 -	mkdir -p $fs/etc/skel/.config
    1.17 -	cp -a $stuff/Trolltech.conf $fs/etc/skel/.config
    1.18 +	mkdir -p $fs/etc/skel/.config $fs/etc/xdg
    1.19 +	cp $stuff/Trolltech.conf $fs/etc/skel/.config/
    1.20 +	cp $stuff/Trolltech.conf $fs/etc/xdg/
    1.21  }
    1.22  
    1.23  post_install()
    1.24 @@ -32,6 +33,7 @@
    1.25          for i in $(ls "$1/home" 2> /dev/null); do
    1.26                  [ -f "$1/home/$i/.config/Trolltech.conf" ] && continue
    1.27                  cp "$1/etc/skel/.config/Trolltech.conf" "$1/home/$i/.config"
    1.28 +		[ -d $PKGS_DB/gtk+ ] && sed 's|Cleanlooks|gtk|' -i "$1/home/$i/.config/Trolltech.conf"
    1.29                  chroot "$1/" chown -R $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.config"
    1.30          done
    1.31  }