diff --git a/system_files/desktop/shared/usr/bin/copr b/system_files/desktop/shared/usr/bin/copr index 1b25db1007..b5357431ff 100755 --- a/system_files/desktop/shared/usr/bin/copr +++ b/system_files/desktop/shared/usr/bin/copr @@ -1,15 +1,2 @@ #!/bin/bash - -# Wrapper for 'dnf5 copr' -# Includes Workaround to append the chroot "fedora-RELEASE-ARCH" -function dnf5_wrapper() { - precmd="/usr/bin/dnf5 copr" - if [[ $* =~ copr\s+enable && $# -eq 2 ]]; then - exec $precmd enable "$2" "${3:-fedora-"$(lsb_release -sr)"-"$(uname -m)"}" - else - exec $precmd "$@" - fi - return -} - -dnf5_wrapper "$@" +exec dnf copr "$@" \ No newline at end of file