libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit 21751d50c8e757c40fc47e572df9347589bf1e9f
parent 1f1c46adfb08c9bf844693f2a379cb02c7b70fa7
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 16 May 2017 15:56:01 +0200

allow long apt arguments in extra_packages

Diffstat:
Mzlibs/bootstrap | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/zlibs/bootstrap b/zlibs/bootstrap @@ -157,7 +157,9 @@ apt-get update ## check if all our extra_packages exist allpkgs="\$(apt-cache search '.' | cut -d' ' -f1)" for i in ${extra_packages} ; do - printf "%s" "\$allpkgs" | grep -q "^\$i$" || missing="\$missing \$i" + printf "%s" "\$allpkgs" | grep -q "^\$i$" || { + printf "%s" "\$i" | greq -q "^--.*" || missing="\$missing \$i" + } done [ -n "\$missing" ] && {