tallow long apt arguments in extra_packages - libdevuansdk - common library for devuan's simple distro kits HTML git clone https://git.parazyd.org/libdevuansdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 21751d50c8e757c40fc47e572df9347589bf1e9f DIR parent 1f1c46adfb08c9bf844693f2a379cb02c7b70fa7 HTML Author: parazyd <parazyd@dyne.org> Date: Tue, 16 May 2017 15:56:01 +0200 allow long apt arguments in extra_packages Diffstat: M zlibs/bootstrap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/zlibs/bootstrap b/zlibs/bootstrap t@@ -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" ] && {