Commit babe5c3e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-check: add check_updated_repo before fix

parent 25c42971
...@@ -17,8 +17,11 @@ ...@@ -17,8 +17,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
load_helper epm-check_updated_repo
epm_check() epm_check()
{ {
update_repo_if_needed
case $PMTYPE in case $PMTYPE in
apt-rpm) apt-rpm)
#sudocmd apt-get check || exit #sudocmd apt-get check || exit
...@@ -31,12 +34,6 @@ case $PMTYPE in ...@@ -31,12 +34,6 @@ case $PMTYPE in
#sudocmd apt-get update || exit #sudocmd apt-get update || exit
sudocmd apt-get -f install || return sudocmd apt-get -f install || return
;; ;;
apt-dpkg)
#sudocmd apt-get update || exit
#sudocmd apt-get check || exit
sudocmd apt-get -f install || return
#sudocmd apt-get autoremove
;;
packagekit) packagekit)
docmd pkcon repair docmd pkcon repair
;; ;;
......
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