Commit eaa67e3f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-removerepo: remove whole string

parent 45fef352
......@@ -39,7 +39,8 @@ __epm_removerepo_apt()
[ -s "$i" ] || continue
# touch file only when it is needed
grep -q -F "$repo" $i || continue
$sc sed -i -e "s|.*$(sed_escape "$repo").*||" $i
$sc sed -i -e "\|$(sed_escape "$repo")|d" $i
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