wok-6.x diff slitaz-base-files/receipt @ rev 16622

mupdf: add debian patch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 09 07:59:54 2014 +0000 (2014-05-09)
parents e6c3e20d5ab0
children ee36ed0f0bce
line diff
     1.1 --- a/slitaz-base-files/receipt	Fri May 02 19:10:08 2014 +0200
     1.2 +++ b/slitaz-base-files/receipt	Fri May 09 07:59:54 2014 +0000
     1.3 @@ -35,7 +35,6 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	make DESTDIR=$DESTDIR install
     1.9  }
    1.10  
    1.11 @@ -102,15 +101,15 @@
    1.12  {
    1.13  	local root
    1.14  	root=$1
    1.15 -	echo "Creating backup of all files in /etc..."
    1.16  	cp -a $root/etc $root/tmp/etc.bak 2>/dev/null
    1.17 +	# Remove old /var/run symlink
    1.18 +	rm -f $root/var/run
    1.19  }
    1.20  
    1.21  post_install()
    1.22  {
    1.23  	local root
    1.24  	root=$1
    1.25 -	echo "Restoring files from /etc/etc.bak..."
    1.26  	cp -a $root/tmp/etc.bak/* $root/etc 2>/dev/null
    1.27  	rm -rf $root/tmp/etc.bak
    1.28