wok-current rev 18144

Up: slitaz-base-files (275)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 18 02:57:32 2015 +0300 (2015-06-18)
parents 678daaa78112
children 83694a75d225
files slitaz-base-files/receipt
line diff
     1.1 --- a/slitaz-base-files/receipt	Wed Jun 17 19:05:26 2015 +0200
     1.2 +++ b/slitaz-base-files/receipt	Thu Jun 18 02:57:32 2015 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-base-files"
     1.7 -VERSION="274"
     1.8 +VERSION="275"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Linux tree and the necessary files for the base system."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -102,8 +102,7 @@
    1.13  #
    1.14  pre_install()
    1.15  {
    1.16 -	local root
    1.17 -	root=$1
    1.18 +	local root="$1"
    1.19  	cp -a $root/etc $root/tmp/etc.bak 2>/dev/null
    1.20  	# Remove old /var/run symlink
    1.21  	rm -f $root/var/run
    1.22 @@ -111,8 +110,7 @@
    1.23  
    1.24  post_install()
    1.25  {
    1.26 -	local root
    1.27 -	root=$1
    1.28 +	local root="$1"
    1.29  	cp -a $root/tmp/etc.bak/* $root/etc 2>/dev/null
    1.30  	rm -rf $root/tmp/etc.bak
    1.31