wok diff xorg-server/receipt @ rev 1137

Fix post_install for subdir install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 24 12:27:06 2008 +0000 (2008-07-24)
parents adf967525716
children 51159e05b560
line diff
     1.1 --- a/xorg-server/receipt	Tue Mar 18 16:19:44 2008 +0100
     1.2 +++ b/xorg-server/receipt	Thu Jul 24 12:27:06 2008 +0000
     1.3 @@ -82,9 +82,9 @@
     1.4  	root=$1
     1.5  	chmod 1777 $root/var/tmp
     1.6  	# Reinstall libX11 if needed...
     1.7 -	if [ ! -f /usr/share/X11/XKeysymDB ]; then
     1.8 +	if [ ! -f $1/usr/share/X11/XKeysymDB ]; then
     1.9  		echo "Missing file: /usr/share/X11/XKeysymDB"
    1.10 -		tazpkg get-install xorg-libX11 --forced
    1.11 +		tazpkg get-install xorg-libX11 --forced --root=$1
    1.12  	fi
    1.13  }
    1.14