wok-6.x diff bash/receipt @ rev 2218
Remove libtag
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 12 08:58:48 2009 +0000 (2009-02-12) |
parents | 65d3dfc87776 |
children | 52b7909de402 |
line diff
1.1 --- a/bash/receipt Sun Oct 12 09:55:00 2008 +0000 1.2 +++ b/bash/receipt Thu Feb 12 08:58:48 2009 +0000 1.3 @@ -64,3 +64,12 @@ 1.4 fi 1.5 fi 1.6 } 1.7 + 1.8 +# Restore a valid sh link if needed. 1.9 +pre_remove() 1.10 +{ 1.11 + sh=`readlink /bin/sh` 1.12 + if [ ! "$sh" = "busybox" ]; then 1.13 + ln -s /bin/busybox /bin/sh 1.14 + fi 1.15 +}