wok diff gnome-calculator/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 c8fa472f72a3
children 6fab3264ba87
line diff
     1.1 --- a/gnome-calculator/receipt	Fri Aug 22 21:27:24 2014 +0000
     1.2 +++ b/gnome-calculator/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -41,11 +41,11 @@
     1.4  post_install()
     1.5  {
     1.6  	echo "Processing post-install commands..."
     1.7 -	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
     1.8 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
     1.9  }
    1.10  
    1.11  post_remove()
    1.12  {
    1.13  	echo "Processing post-remove commands..."
    1.14 -	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.15 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.16  }