diff options
Diffstat (limited to 'tweaks/base')
-rw-r--r-- | tweaks/base | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tweaks/base b/tweaks/base index 9a2c9a6..eba954a 100644 --- a/tweaks/base +++ b/tweaks/base @@ -8,10 +8,10 @@ _pkg2re(){ set -e _pkgreal(){ set -e chroot /target dpkg-query -Wf='${Package},${Provides},\n'|sed -r "/,,/d;s/^([a-z0-9.+-]+).*[,|] *($(_pkg2re $*))[ :,]/\1/;/,/d"; } _pkganddeepdeps(){ set -e - local rest=$* - local all=$rest + rest=$* + all=$rest for i in 1 2 3 4 5 - do local deps=$(_pkgdeps $rest) + do deps=$(_pkgdeps $rest) rest="$deps $(_pkgreal $deps)" all="$all $rest" done |