summaryrefslogtreecommitdiffstats
path: root/redhat/build/get_installed_package_version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/build/get_installed_package_version.sh')
-rwxr-xr-xredhat/build/get_installed_package_version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/get_installed_package_version.sh b/redhat/build/get_installed_package_version.sh
index fa2ff5cf9..62dbb1ff0 100755
--- a/redhat/build/get_installed_package_version.sh
+++ b/redhat/build/get_installed_package_version.sh
@@ -12,7 +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";;
+ "esound") PKGNAME="esound-libs";;
esac
VERSION=$(LC_ALL=C rpm -q --qf "%{version}-%{release}" trinity-${PKGNAME} 2>/dev/null)