From: Marcin Juszkiewicz Date: Tue, 20 Feb 2007 08:28:25 +0000 (+0000) Subject: bash: create /etc/shells before using it X-Git-Tag: Release-2010-05/1~9207 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbf5bf61ecfeb8c868945dcfb02a74f612eb59a4;p=openembedded.git bash: create /etc/shells before using it --- 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 } diff --git a/packages/bash/bash_3.2.bb b/packages/bash/bash_3.2.bb index e3d6b0560c..fd59b846ed 100644 --- a/packages/bash/bash_3.2.bb +++ b/packages/bash/bash_3.2.bb @@ -23,6 +23,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 }