diff options
Diffstat (limited to 'repo/util/bash.xibuild')
-rw-r--r-- | repo/util/bash.xibuild | 5 |
1 files changed, 2 insertions, 3 deletions
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 |