win32codecs.spec: remove internal check for current version installed to let this be managed externally
This commit is contained in:
parent
67bc5ff37a
commit
ec96420c4c
@ -69,15 +69,15 @@ rm -f $tmpfile
|
|||||||
|
|
||||||
[ "$tarball" ] || exit 1
|
[ "$tarball" ] || exit 1
|
||||||
|
|
||||||
# check if the latest version is already installed
|
## check if the latest version is already installed
|
||||||
if [ -r %{win32dir}/VERSION_w32codecs ]; then
|
#if [ -r %{win32dir}/VERSION_w32codecs ]; then
|
||||||
currver="$(cat %{win32dir}/VERSION_w32codecs)"
|
# currver="$(cat %{win32dir}/VERSION_w32codecs)"
|
||||||
case "$tarball" in
|
# case "$tarball" in
|
||||||
"all-${currver}.tar.bz2")
|
# "all-${currver}.tar.bz2")
|
||||||
echo "the latest version is already installed"
|
# echo "the latest version is already installed"
|
||||||
exit 1 ;;
|
# exit 1 ;;
|
||||||
esac
|
# esac
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
curl --url $URL/$tarball -o $tarball || exit 1
|
curl --url $URL/$tarball -o $tarball || exit 1
|
||||||
echo $tarball | sed 's/all-\([0-9]*\).tar.*/\1/' > VERSION_w32codecs
|
echo $tarball | sed 's/all-\([0-9]*\).tar.*/\1/' > VERSION_w32codecs
|
||||||
|
Loading…
Reference in New Issue
Block a user