wok diff ocsinventory-agent/receipt @ rev 22091

updated util-linux packages (2.28 -> 2.34)
author Hans-G?nter Theisgen
date Thu Oct 31 15:20:14 2019 +0100 (2019-10-31)
parents 9e01bc6321ea
children c265f9cf4b14
line diff
     1.1 --- a/ocsinventory-agent/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/ocsinventory-agent/receipt	Thu Oct 31 15:20:14 2019 +0100
     1.3 @@ -20,9 +20,7 @@
     1.4  {
     1.5  	cp $stuff/Slitaz.pm $src/lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB
     1.6  	cp $stuff/Tazpkg.pm $src/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging
     1.7 -	
     1.8 -	cd $src
     1.9 -	
    1.10 +
    1.11  	# don't run postinstall script
    1.12  	rm -f run-postinst
    1.13  	for p in $stuff/ocsinventory-agent-1.1.2.1.u
    1.14 @@ -31,7 +29,7 @@
    1.15  		patch -p1 -i $p || return 1
    1.16  		touch done.$(basename $p)
    1.17  	done
    1.18 -	perl Makefile.PL 
    1.19 +	perl Makefile.PL
    1.20  	rm -f run-postinst
    1.21  	make && make DESTDIR=$DESTDIR install
    1.22  }
    1.23 @@ -42,13 +40,12 @@
    1.24  	mkdir -p $fs/usr \
    1.25  		$fs/etc/ocsinventory-agent \
    1.26  		$fs/var/lib/ocsinventory-agent
    1.27 -		
    1.28 +
    1.29  	cp -a $install/usr/bin $fs/usr
    1.30  	cp -a $install/usr/lib $fs/usr
    1.31  }
    1.32  
    1.33  post_install(){
    1.34 -	echo "Processing post-install commands..."
    1.35  	cat > "$1/etc/ocsinventory-agent/ocsinventory-agent.cfg" <<EOT
    1.36  basevardir=/var/lib/ocsinventory-agent
    1.37  server=http://localhost/ocsinventory
    1.38 @@ -60,4 +57,3 @@
    1.39  		touch "$1/var/lib/dpkg/status"
    1.40  	fi
    1.41  }
    1.42 -