From bef796ab77b0efc0f2e570e13f1ad16f30e9ccb7 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 5 Feb 2022 10:42:53 +0000 Subject: removed references to libiconv --- repo/util/bash.xibuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'repo/util') 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 } -- cgit v1.2.1