diff --git a/dnf.sh b/dnf.sh index ec526cd..423b52f 100644 --- a/dnf.sh +++ b/dnf.sh @@ -47,7 +47,7 @@ set_proxy() { } -which apt &> /dev/null +which dnf &> /dev/null if [ "$?" != 0 ]; then exit fi