Commit c13b751a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-check_updated_repo: use epm_vardir, not /var/lib/rpm

parent 4921871d
......@@ -154,14 +154,14 @@ update_repo_if_needed()
# save manually installed packages
save_installed_packages()
{
[ -d /var/lib/rpm ] || return 0
estrlist list "$@" | sudorun tee /var/lib/rpm/EPM-installed >/dev/null
[ -d $epm_vardir ] || return 0
estrlist list "$@" | sudorun tee $epm_vardir/installed-via-epm >/dev/null
}
check_manually_installed()
{
[ -r /var/lib/rpm/EPM-installed ] || return 1
grep -q -- "^$1\$" /var/lib/rpm/EPM-installed
[ -r $epm_vardir/installed-via-epm ] || return 1
grep -q -- "^$1\$" $epm_vardir/installed-via-epm
}
skip_manually_installed()
......
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