wok-next diff screenlets/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 380ffe05937a
children 2f03cb67a994
line diff
     1.1 --- a/screenlets/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/screenlets/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -10,13 +10,13 @@
     1.4  WEB_SITE="http://screenlets.org"
     1.5  WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
     1.6  
     1.7 -DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop dbus-python gnome-icon-theme"
     1.8 +DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop \
     1.9 +dbus-python gnome-icon-theme"
    1.10  BUILD_DEPENDS="python-dev wget"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	cd $src
    1.16  	python setup.py install --root=$install
    1.17  }
    1.18  
    1.19 @@ -34,14 +34,10 @@
    1.20  # Post install/remove commands for Tazpkg.
    1.21  post_install()
    1.22  {
    1.23 -  echo "Processing post-install commands..."
    1.24 -  chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
    1.25 +	chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
    1.26  }
    1.27  
    1.28  post_remove()
    1.29  {
    1.30 -  echo "Processing post-remove commands..."
    1.31 -  chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
    1.32 +	chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
    1.33  }
    1.34 -
    1.35 -