From 4be80e6cb623332400ef6c72f05b82dabbfdd5a2 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 8 Apr 2008 11:37:24 +0000 Subject: bash: fix postinst to not touch host system --- packages/bash/bash.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/bash/bash.inc') diff --git a/packages/bash/bash.inc b/packages/bash/bash.inc index 80aedfa1c8..b67e8bbe39 100644 --- a/packages/bash/bash.inc +++ b/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 } -- cgit v1.2.3