wok-6.x rev 2531

fix vim: add post_remove command to restore busybox vi applet
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Mar 18 12:35:58 2009 +0100 (2009-03-18)
parents 586332305ffe
children 7b2884122043
files vim/receipt
line diff
     1.1 --- a/vim/receipt	Wed Mar 18 12:35:25 2009 +0100
     1.2 +++ b/vim/receipt	Wed Mar 18 12:35:58 2009 +0100
     1.3 @@ -71,3 +71,9 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 +post_remove()
     1.8 +{
     1.9 +	# restore previous symlink
    1.10 +	echo "Processing post-remove commands..."
    1.11 +	ln -sf /bin/busybox /bin/vi
    1.12 +}