Commit f21d3039 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm repo del: added dnf5 support

parent 5b2ac4ef
......@@ -134,6 +134,10 @@ case $PMTYPE in
repo_file_name=$(env LC_ALL=C dnf repoinfo "$@" 2>/dev/null | sed -n 's/^Repo-filename\s*:\s*//p')
sudocmd rm "$repo_file_name"
;;
dnf5-rpm)
repo_file_name=$(env LC_ALL=C dnf repoinfo "$@" 2>/dev/null | sed -n 's/^Config file\s*:\s*//p')
sudocmd rm "$repo_file_name"
;;
urpm-rpm)
if [ "$1" = "all" ] ; then
sudocmd urpmi.removemedia -av
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment