Commit 4df9272d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-removerepo: implement last step via __epm_removerepo_apt

parent f08cab0c
...@@ -52,16 +52,7 @@ __epm_removerepo_alt_grepremove() ...@@ -52,16 +52,7 @@ __epm_removerepo_alt_grepremove()
[ -z "$rl" ] && warning 'Can'\''t find '$*' in the repos (see # epm repolist output)' && return 1 [ -z "$rl" ] && warning 'Can'\''t find '$*' in the repos (see # epm repolist output)' && return 1
fi fi
echo "$rl" | while read rp ; do echo "$rl" | while read rp ; do
# TODO: print removed lines __epm_removerepo_apt "$rp"
if [ -n "$dryrun" ] ; then
docmd apt-repo $dryrun rm "$rp"
continue
fi
if [ -z "$quiet" ] ; then
sudocmd apt-repo $dryrun rm "$rp"
else
sudorun apt-repo $dryrun rm "$rp"
fi
done done
} }
......
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