wok-next diff bash/receipt @ rev 2233
ivman: use custom rules (have more to do)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 13 00:20:51 2009 +0100 (2009-02-13) |
parents | 65d3dfc87776 |
children | 52b7909de402 |
line diff
1.1 --- a/bash/receipt Sun Oct 12 09:55:00 2008 +0000 1.2 +++ b/bash/receipt Fri Feb 13 00:20:51 2009 +0100 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 +}