summaryrefslogtreecommitdiffstats
path: root/redhat/build/get_installed_package_version.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-02-06 19:20:59 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-02-06 19:20:59 +0100
commita67bf0c2e7354d30ca008a48bc36ca1c6ea05712 (patch)
tree53f3b129a47d9375adea5e0bf7631d139028e6fa /redhat/build/get_installed_package_version.sh
parenta2030eb3a57cde9db1ab019f4c135e229b8b332e (diff)
downloadtde-packaging-a67bf0c2e7354d30ca008a48bc36ca1c6ea05712.tar.gz
tde-packaging-a67bf0c2e7354d30ca008a48bc36ca1c6ea05712.zip
RPM Packaging: patch kaffeine
Diffstat (limited to 'redhat/build/get_installed_package_version.sh')
-rwxr-xr-xredhat/build/get_installed_package_version.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/redhat/build/get_installed_package_version.sh b/redhat/build/get_installed_package_version.sh
index 1fced7d42..fa2ff5cf9 100755
--- a/redhat/build/get_installed_package_version.sh
+++ b/redhat/build/get_installed_package_version.sh
@@ -12,6 +12,7 @@ case ${PKGNAME} in
"trinity-"*) PKGNAME="${PKGNAME#trinity-}";;
"qt3") [ -r /etc/mandriva-release ] && PKGNAME="qt3-common";;
"curl") PKGNAME="trinity-libcurl";;
+ "esound") PKGNAME="$(rpm -E %_lib)esound";;
esac
VERSION=$(LC_ALL=C rpm -q --qf "%{version}-%{release}" trinity-${PKGNAME} 2>/dev/null)