summaryrefslogtreecommitdiff
path: root/repo/util/bash.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 23:01:07 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 23:01:07 +0000
commit2bda0d54b37dd3ebf7917c3a58c0404d21afe7f6 (patch)
tree36a97971d0f9c6151f36b333383bb985289f23e3 /repo/util/bash.xibuild
parent08c8891c20131576640f30cc40fcdbc57a497957 (diff)
shell will now default to dash asap
Diffstat (limited to 'repo/util/bash.xibuild')
-rw-r--r--repo/util/bash.xibuild5
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