summaryrefslogtreecommitdiff
path: root/meta/packages/bash/bash.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/bash/bash.inc')
-rw-r--r--meta/packages/bash/bash.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/bash/bash.inc b/meta/packages/bash/bash.inc
index 80aedfa1c..b67e8bbe3 100644
--- a/meta/packages/bash/bash.inc
+++ b/meta/packages/bash/bash.inc
@@ -20,7 +20,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
+ touch $D${sysconfdir}/shells
+ grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells
+ grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells
}