Commit 696d258e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-play: fix duplicates in the installed list

parent 2cc18119
......@@ -23,7 +23,8 @@ epm_vardir=/var/lib/eepm
__save_installed_app()
{
[ -d "$epm_vardir" ] || return 0
estrlist list "$@" | $SUDO tee -a $epm_vardir/installed-app >/dev/null
__check_installed_app "$1" && return 0
echo "$1" | $SUDO tee -a $epm_vardir/installed-app >/dev/null
}
__remove_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