Skip to content

Commit

Permalink
Merge pull request #1035 from fedepell/enable_dnf_yum
Browse files Browse the repository at this point in the history
obs-docker-support: enable dnf and yum substitutions
  • Loading branch information
mlschroe authored Oct 31, 2024
2 parents 7eb09b4 + 9bbdeee commit d8300e8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions obs-docker-support
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ zypper() {
globalopts[${#globalopts[@]}]="$1"
shift
;;
*)
*)
cmd=$1
shift
break
Expand Down Expand Up @@ -103,7 +103,7 @@ apt_get() {
globalopts[${#globalopts[@]}]="$1"
shift
;;
*)
*)
cmd=$1
shift
break
Expand Down Expand Up @@ -136,7 +136,7 @@ dnf() {
globalopts[${#globalopts[@]}]="$1"
shift
;;
*)
*)
cmd=$1
shift
break
Expand Down Expand Up @@ -166,7 +166,7 @@ yum() {
globalopts[${#globalopts[@]}]="$1"
shift
;;
*)
*)
cmd=$1
shift
break
Expand Down Expand Up @@ -343,6 +343,12 @@ apt-get)
curl)
curl "$@"
;;
dnf)
dnf "$@"
;;
yum)
yum "$@"
;;
*)
echo "obs-docker-support: unsupported mode ${0##*/}" >&2
exit 1
Expand Down

0 comments on commit d8300e8

Please sign in to comment.