Commit a81a5008 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-autoorphans: add confirm step before removing

parent 8a23f68a
......@@ -39,8 +39,14 @@ case $PMTYPE in
local PKGLIST=$(__epm_orphan_altrpm \
| sed -e "s/\.32bit//g" \
| grep -v -- "^eepm$" \
| grep -v -- "^distro_info$" \
| grep -v -- "^kernel")
if [ -z "$dryrun" ] && [ -n "$PKGLIST" ] ; then
showcmd epm remove $dryrun $PKGLIST
confirm_info "We will remove packages above."
fi
# if [ -n "$dryrun" ] ; then
# echo "$PKGLIST"
# else
......
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