add support for passing parameters to usr/lib/security-misc/apt-get-update

This commit is contained in:
Patrick Schleizer 2020-02-03 08:55:20 -05:00
parent 2291b7f787
commit 1f6ed2cc70
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -24,7 +24,7 @@ trap "sigterm_trap" SIGTERM SIGINT
timeout \
--kill-after="$kill_after" \
"$timeout_after" \
/usr/lib/security-misc/apt-get-wrapper update &
/usr/lib/security-misc/apt-get-wrapper update "$@" &
lastpid="$!"
wait "$lastpid"