Commit 7d6ad3d6 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm-sh-functions: add set_backend function (eterbug #17511)

parent b1f5f84d
......@@ -1117,3 +1117,16 @@ else
}
fi
set_backend()
{
case $arg in
*:*)
PMTYPE=$(echo "$arg" | cut -d: -f1)
names=$(echo "$arg" | cut -d: -f2)
;;
*)
PMTYPE=$($DISTRVENDOR -g)
names="$(echo $pkg_names | tr ' ' '\n' | grep -v ':' | filter_out_installed_packages)"
esac
}
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