Adding support for executable statements as '! $command' in package lists.
This commit is contained in:
parent
f84a979906
commit
a691caa0f2
|
@ -40,6 +40,12 @@ Expand_packagelist ()
|
||||||
while read _LB_LINE
|
while read _LB_LINE
|
||||||
do
|
do
|
||||||
case "${_LB_LINE}" in
|
case "${_LB_LINE}" in
|
||||||
|
\!*)
|
||||||
|
_EXEC="$(echo ${_LB_LINE} | sed -e 's|^!||')"
|
||||||
|
|
||||||
|
chroot chroot ${_EXEC}
|
||||||
|
;;
|
||||||
|
|
||||||
\#if\ *)
|
\#if\ *)
|
||||||
if [ ${_LB_NESTED} -eq 1 ]
|
if [ ${_LB_NESTED} -eq 1 ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue