diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-12 10:27:07 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-12 10:27:07 -0300 |
commit | 47004c9601147b4c5c55c2bd6401bda8b6be0406 (patch) | |
tree | 15e5fa824efccedb316c89e3574ad86bfbf7cc1f | |
parent | 73fa1967b241a0306b744026ea9223e1638b42d3 (diff) |
Since new generation of expac has been released, expac-relative isn't needed for libredbdiff anymore
-rwxr-xr-x | src/abslibre-tools/libredbdiff | 17 |
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}' \ |