From ec96420c4cfe4efc10fa447fa7f46afd56239194 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 7 Aug 2011 19:37:21 +0200 Subject: [PATCH] win32codecs.spec: remove internal check for current version installed to let this be managed externally --- SRPMS/win32codecs/win32codecs.spec.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/SRPMS/win32codecs/win32codecs.spec.in b/SRPMS/win32codecs/win32codecs.spec.in index 180d92e..09d72c3 100644 --- a/SRPMS/win32codecs/win32codecs.spec.in +++ b/SRPMS/win32codecs/win32codecs.spec.in @@ -69,15 +69,15 @@ rm -f $tmpfile [ "$tarball" ] || exit 1 -# check if the latest version is already installed -if [ -r %{win32dir}/VERSION_w32codecs ]; then - currver="$(cat %{win32dir}/VERSION_w32codecs)" - case "$tarball" in - "all-${currver}.tar.bz2") - echo "the latest version is already installed" - exit 1 ;; - esac -fi +## check if the latest version is already installed +#if [ -r %{win32dir}/VERSION_w32codecs ]; then +# currver="$(cat %{win32dir}/VERSION_w32codecs)" +# case "$tarball" in +# "all-${currver}.tar.bz2") +# echo "the latest version is already installed" +# exit 1 ;; +# esac +#fi curl --url $URL/$tarball -o $tarball || exit 1 echo $tarball | sed 's/all-\([0-9]*\).tar.*/\1/' > VERSION_w32codecs