diff --git a/obs-docker-support b/obs-docker-support index 116fdc97..c4e4b15b 100755 --- a/obs-docker-support +++ b/obs-docker-support @@ -45,7 +45,7 @@ zypper() { globalopts[${#globalopts[@]}]="$1" shift ;; - *) + *) cmd=$1 shift break @@ -103,7 +103,7 @@ apt_get() { globalopts[${#globalopts[@]}]="$1" shift ;; - *) + *) cmd=$1 shift break @@ -136,7 +136,7 @@ dnf() { globalopts[${#globalopts[@]}]="$1" shift ;; - *) + *) cmd=$1 shift break @@ -166,7 +166,7 @@ yum() { globalopts[${#globalopts[@]}]="$1" shift ;; - *) + *) cmd=$1 shift break @@ -343,6 +343,12 @@ apt-get) curl) curl "$@" ;; +dnf) + dnf "$@" + ;; +yum) + yum "$@" + ;; *) echo "obs-docker-support: unsupported mode ${0##*/}" >&2 exit 1