Commit bb46bcbc authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-check_updated: fix if perms is unsufficient

parent f5830844
...@@ -21,7 +21,10 @@ __is_repo_info_download() ...@@ -21,7 +21,10 @@ __is_repo_info_download()
{ {
case $PMTYPE in case $PMTYPE in
apt-*) apt-*)
test -r /var/cache/apt/pkgcache.bin || return if [ -r /var/cache/apt ] ; then
# FIXME: only if root permissions
test -r /var/cache/apt/pkgcache.bin || return
fi
;; ;;
*) *)
;; ;;
......
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