win32codecs.spec: remove internal check for current version installed to let this be managed externally

This commit is contained in:
Silvan Calarco 2011-08-07 19:37:21 +02:00
parent 67bc5ff37a
commit ec96420c4c

View File

@ -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