summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/libredbdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/libredbdiff')
-rwxr-xr-xsrc/abslibre-tools/libredbdiff17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/abslibre-tools/libredbdiff b/src/abslibre-tools/libredbdiff
index 1d1d191..09c7ad1 100755
--- a/src/abslibre-tools/libredbdiff
+++ b/src/abslibre-tools/libredbdiff
@@ -170,21 +170,6 @@ repo_test() {
fi
}
-expac_version_test() {
- if ! pkgname="$(pacman -Qoq expac 2> /dev/null)" ; then
- die "The command expac could not be found installed. The package pcr/expac-relative 4-2.parabola1 (or later) must be installed."
- elif [[ $pkgname == expac-git ]] ; then
- true
- elif [[ $pkgname == expac-relative ]] ; then
- expac_ver="$(expac %v expac-relative)"
- if [[ $(vercmp "${expac_ver}" 4-2.parabola1) == -1 ]] ; then
- die "The version of expac-relative installed on the system is lower than needed."
- fi
- else
- die "expac command must be provided by pcr/expac-relative version 4-2.parabola1 (or later). This package must be installed."
- fi
-}
-
compare_pkgs() {
local cmp
if [[ ${verarch[$pkgname]} ]] ; then
@@ -345,8 +330,6 @@ main() {
"$cmd"
fi
- expac_version_test
-
pacman --config "${conffilearch}" -Ss | \
grep -v '^ ' | \
awk -F/ '{print $2}' \