summaryrefslogtreecommitdiff
path: root/repo/util
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-05 10:42:53 +0000
committerdavidovski <david@davidovski.xyz>2022-02-05 10:42:53 +0000
commitbef796ab77b0efc0f2e570e13f1ad16f30e9ccb7 (patch)
tree92c4a97b8a7549ceecdfeae110e606f1deacc216 /repo/util
parent5d17325bc11fe0525c9aea5d64c4c09efcff3d86 (diff)
removed references to libiconv
Diffstat (limited to 'repo/util')
-rw-r--r--repo/util/bash.xibuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/repo/util/bash.xibuild b/repo/util/bash.xibuild
index 8b02e5a..8e1a3d8 100644
--- a/repo/util/bash.xibuild
+++ b/repo/util/bash.xibuild
@@ -18,5 +18,7 @@ package () {
}
postinstall () {
- grep -q "bash" /etc/shells || echo "/bin/bash" >> /etc/shells
+ if [ -f /etc/shells ] || grep -vq "bash" /etc/shells; then
+ echo "/bin/bash" >> /etc/shells
+ fi
}