Skip to content

Commit

Permalink
lib/apk: silently ignore --no-confirm option (fix #150)
Browse files Browse the repository at this point in the history
  • Loading branch information
icy committed Jun 17, 2021
1 parent 735b2ea commit 0048b4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/00_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ _translate_noconfirm() {
"zypper") _opt="--no-confirm";;
"pkgng") _opt="-y";;
"tazpkg") _opt="--auto";;
# apk is supposed to run in non-interactive mode by default (FIXME)
# This addresses https://github.com/icy/pacapt/issues/150
"apk") _opt="";;
*)
_opt=""
_ret=1
Expand Down

0 comments on commit 0048b4f

Please sign in to comment.