Commit 7b2a0ea3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

checkpkg: use assure for erc

parent c7c09645
...@@ -37,11 +37,8 @@ check_pkg_integrity() ...@@ -37,11 +37,8 @@ check_pkg_integrity()
true true
;; ;;
*) *)
assure_exists erc
docmd erc test "$PKG" && return docmd erc test "$PKG" && return
which erc >/dev/null 2>/dev/null && fatal "Check failed."
fatal "Install erc package for file package."
# TODO
epm install erc
;; ;;
esac esac
} }
......
...@@ -281,6 +281,9 @@ assure_exists() ...@@ -281,6 +281,9 @@ assure_exists()
apt-file) apt-file)
epm install apt-file epm install apt-file
;; ;;
erc)
epm install erc
;;
update-kernel|remove-old-kernels) update-kernel|remove-old-kernels)
epm install update-kernel epm install update-kernel
;; ;;
......
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