summaryrefslogtreecommitdiff
path: root/packages/bash/bash_3.0.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-02-20 08:28:25 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-02-20 08:28:25 +0000
commitfbf5bf61ecfeb8c868945dcfb02a74f612eb59a4 (patch)
tree7b6656343134d69af41e87e9f808073cb5027280 /packages/bash/bash_3.0.bb
parent292dc9c159bc037e810d28dfe16f9dbf8bba1ab1 (diff)
bash: create /etc/shells before using it
Diffstat (limited to 'packages/bash/bash_3.0.bb')
-rw-r--r--packages/bash/bash_3.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/bash/bash_3.0.bb b/packages/bash/bash_3.0.bb
index 75da58b00b..2a8e0ee951 100644
--- a/packages/bash/bash_3.0.bb
+++ b/packages/bash/bash_3.0.bb
@@ -25,6 +25,7 @@ do_configure () {
}
pkg_postinst () {
+ touch ${sysconfdir}/shells
grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells
grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells
}