wok-next rev 18644

coreutils-operations: clean pre_install()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 30 02:55:10 2015 +0200 (2015-11-30)
parents 5c998d9ef79b
children fa19801b8f78
files coreutils-operations/receipt
line diff
     1.1 --- a/coreutils-operations/receipt	Mon Nov 30 02:34:30 2015 +0200
     1.2 +++ b/coreutils-operations/receipt	Mon Nov 30 02:55:10 2015 +0200
     1.3 @@ -38,21 +38,20 @@
     1.4  {
     1.5  	local root
     1.6  	root=$1
     1.7 -	echo "Processing pre-install commands..."
     1.8 -	echo -n "Removing all Busybox replaced utils... "
     1.9 +	qaction "Removing all Busybox replaced utils... "
    1.10  	rm -f $root/bin/dd $root/bin/mv $root/bin/ln
    1.11  	rm -f $root/usr/bin/install $root/usr/bin/shred
    1.12  	# Dont remove cp/rm or the installation will fail because tazpkg use
    1.13  	# cp and rm during the process.
    1.14  	#
    1.15  	#rm -f $root/bin/cp $root/bin/rm
    1.16 -	status
    1.17 +	qstatus
    1.18  }
    1.19  
    1.20  post_remove()
    1.21  {
    1.22  	# use busybox ln applet directly since /bin/ln
    1.23 -        # in this package is remove already
    1.24 +	# in this package is remove already
    1.25  	/bin/busybox ln -fs /bin/busybox $1/bin/cp
    1.26  	/bin/busybox ln -fs /bin/busybox $1/bin/dd
    1.27  	/bin/busybox ln -fs /bin/busybox $1/bin/mv