diff options
Diffstat (limited to 'meta/recipes-extended/bash')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 2 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash_3.2.48.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index a87b87ff4b..ecbd75dadd 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -27,7 +27,7 @@ do_configure () { | |||
27 | oe_runconf | 27 | oe_runconf |
28 | } | 28 | } |
29 | 29 | ||
30 | pkg_postinst () { | 30 | pkg_postinst_${PN} () { |
31 | touch $D${sysconfdir}/shells | 31 | touch $D${sysconfdir}/shells |
32 | grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells | 32 | grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells |
33 | grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells | 33 | grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells |
diff --git a/meta/recipes-extended/bash/bash_3.2.48.bb b/meta/recipes-extended/bash/bash_3.2.48.bb index e5a3e3643d..0912ad6aa8 100644 --- a/meta/recipes-extended/bash/bash_3.2.48.bb +++ b/meta/recipes-extended/bash/bash_3.2.48.bb | |||
@@ -28,7 +28,7 @@ do_configure () { | |||
28 | oe_runconf | 28 | oe_runconf |
29 | } | 29 | } |
30 | 30 | ||
31 | pkg_postinst () { | 31 | pkg_postinst_${PN} () { |
32 | touch $D${sysconfdir}/shells | 32 | touch $D${sysconfdir}/shells |
33 | grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells | 33 | grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells |
34 | grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells | 34 | grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells |