Mercurial > vanilla
changeset 567:70e87450d08f
shells/dash: no more default, use busybox instead
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 05 Jul 2019 21:02:37 +0200 |
parents | ddb052f876cd |
children | 129802e3c692 |
files | shells/dash/dash-post.sh |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/shells/dash/dash-post.sh Fri Jul 05 20:58:54 2019 +0200 +++ b/shells/dash/dash-post.sh Fri Jul 05 21:02:37 2019 +0200 @@ -19,19 +19,6 @@ if ! grep -q "/bin/dash" $DESTDIR/etc/shells >/dev/null 2>&1; then echo "/bin/dash" >> $DESTDIR/etc/shells fi - - # - # dash is the official default shell in Vanilla, but if the user has set - # something else, keep it. - # - if [ ! -e $DESTDIR/bin/sh ]; then - ln -sf dash $DESTDIR/bin/sh - fi elif [ "$1" = "uninstall" ]; then sed -i -e '/\/\/bin\/dash/d' $DESTDIR/etc/shells - - # Remove deadlink to /bin/sh if dash was kept as default shell. - if [ $(readlink $DESTDIR/bin/sh) = "dash" ]; then - rm -f $DESTDIR/bin/sh - fi fi