From 2bda0d54b37dd3ebf7917c3a58c0404d21afe7f6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 10 Mar 2022 23:01:07 +0000 Subject: shell will now default to dash asap --- repo/util/bash.xibuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'repo/util/bash.xibuild') diff --git a/repo/util/bash.xibuild b/repo/util/bash.xibuild index edb8748..fbaf390 100644 --- a/repo/util/bash.xibuild +++ b/repo/util/bash.xibuild @@ -14,12 +14,11 @@ build () { package () { make DESTDIR=$PKG_DEST install - - # favouring dash as /bin/sh - #ln $PKG_DEST/usr/bin/bash $PKG_DEST/usr/bin/sh } postinstall () { + command -v bash || exit 1 + if [ -f /etc/shells ] || grep -vq "bash" /etc/shells; then echo "/bin/bash" >> /etc/shells fi -- cgit v1.2.1