From a691caa0f2738941075efe00df9af06cb10e98c1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 28 Jul 2012 21:57:03 +0200 Subject: Adding support for executable statements as '! $command' in package lists. --- functions/packagelists.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/packagelists.sh b/functions/packagelists.sh index 0e2d5ff57..eda9cf542 100755 --- a/functions/packagelists.sh +++ b/functions/packagelists.sh @@ -40,6 +40,12 @@ Expand_packagelist () while read _LB_LINE do case "${_LB_LINE}" in + \!*) + _EXEC="$(echo ${_LB_LINE} | sed -e 's|^!||')" + + chroot chroot ${_EXEC} + ;; + \#if\ *) if [ ${_LB_NESTED} -eq 1 ] then -- cgit v1.2.3