diff options
author | Mihkel Tõnnov | 2024-03-18 23:31:26 +0100 |
---|---|---|
committer | Mihkel Tõnnov | 2024-03-18 23:31:26 +0100 |
commit | 8471b1528b5dbc7a7fd7c88c369db0e86ca6c42f (patch) | |
tree | 35d8dab23fb9321da65015732d6d2240d03f8537 /PKGBUILD | |
parent | 80eb5bbfc473b40bd94ec7bc203565d4dba983ab (diff) | |
download | aur-8471b1528b5dbc7a7fd7c88c369db0e86ca6c42f.tar.gz |
Fix the if-test in prepare() for missing taglib-extras
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ pkgname=amarok-git pkgver=2.9.71.r347.g14889cf -pkgrel=1 +pkgrel=2 pkgdesc="The powerful music player for KDE" arch=("i686" "x86_64") url="http://amarok.kde.org" @@ -45,7 +45,7 @@ pkgver() { prepare() { # Taglib-extras were removed and then re-added to optdepends (after fixing its build against taglib 2.0), so better warn if anyone still has the old version installed - if [[ $(pacman -Q taglib-extras | cut -d ' ' -f 2) < "1.0.1-8" ]]; then + if [[ $(pacman -Q taglib-extras 2>&1 | cut -d ' ' -f 2) < "1.0.1-8" ]]; then echo "You have an old version of 'taglib-extras' installed. This will break the build - please uninstall it or update to 1.0.1-8 from AUR." return 1 fi |