mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
pkg-manager.sh: Circumvent more checks for install -y
zypper --non-interactive --gpg-auto-import-keys in --force-resolution --auto-agree-with-licenses Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
07ebe479e6
commit
37dbe0a32f
1 changed files with 5 additions and 2 deletions
|
|
@ -47,8 +47,11 @@ cmd_install()
|
|||
|
||||
case $ID in
|
||||
opensuse|suse)
|
||||
[ "$non_interactive" = 1 ] && global_opts="$global_opts --non-interactive"
|
||||
eval run sudo $env zypper $global_opts install "$@"
|
||||
[ "$non_interactive" = 1 ] && {
|
||||
opts="--force-resolution --auto-agree-with-licenses"
|
||||
global_opts="$global_opts --non-interactive --gpg-auto-import-keys --no-gpg-checks"
|
||||
}
|
||||
eval run sudo $env zypper $global_opts install $opts "$@"
|
||||
;;
|
||||
debian)
|
||||
[ "$non_interactive" = 1 ] && {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue