summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rw-r--r--repo/devel/pkg-config.xibuild3
-rw-r--r--repo/util/bash.xibuild4
2 files changed, 4 insertions, 3 deletions
diff --git a/repo/devel/pkg-config.xibuild b/repo/devel/pkg-config.xibuild
index df8fa03..aeaf71c 100644
--- a/repo/devel/pkg-config.xibuild
+++ b/repo/devel/pkg-config.xibuild
@@ -11,8 +11,7 @@ build () {
./configure --prefix=/usr \
--with-internal-glib \
--disable-host-tool \
- --with-libiconv \
- --docdir=/usr/share/doc/pkg-config-$PKG_VER --with-libiconv=gnu
+ --docdir=/usr/share/doc/pkg-config-$PKG_VER
make
}
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
}