From 77f3d6e13bb10fee9f17e837b147a2ba04273da7 Mon Sep 17 00:00:00 2001 From: casjay Date: Sat, 28 Dec 2024 19:42:10 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/bin/pkmgr --- rootfs/usr/local/bin/pkmgr | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rootfs/usr/local/bin/pkmgr b/rootfs/usr/local/bin/pkmgr index 3cd10ba..b497592 100755 --- a/rootfs/usr/local/bin/pkmgr +++ b/rootfs/usr/local/bin/pkmgr @@ -5,6 +5,13 @@ USER_UID="$(id -u)" USER_GID="$(id -g)" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +while :; do + case "$@" in + --*) shift ;; + *) break ;; + esac +done +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if [ -x "$(command -v apt 2>/dev/null)" ]; then export DEBIAN_FRONTEND=noninteractive pkmgr_cmd="apt"