Commit fcb5d550 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-play: check installed-app file before removing

parent b72e8503
......@@ -30,7 +30,7 @@ __save_installed_app()
__remove_installed_app()
{
[ -d "$epm_vardir" ] || return 0
[ -s $epm_vardir/installed-app ] || return 0
local i
for i in $* ; do
sudorun sed -i "/^$i$/d" $epm_vardir/installed-app
......
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