|
|
@ -8,8 +8,9 @@ TARBALL=$(get_latest_tarball_version.sh ${PKGNAME} ${TDE_VERSION})
|
|
|
|
SPEC=$(get_spec_version.sh ${PKGNAME} ${TDE_VERSION})
|
|
|
|
SPEC=$(get_spec_version.sh ${PKGNAME} ${TDE_VERSION})
|
|
|
|
|
|
|
|
|
|
|
|
# Package containing "~" (e.g. R14 preversion tarballs):
|
|
|
|
# Package containing "~" (e.g. R14 preversion tarballs):
|
|
|
|
if [ "${INSTALLED/\~/}" != "${INSTALLED}" ]; then
|
|
|
|
if [ "${TARBALL/\~/}" != "${TARBALL}" ]; then
|
|
|
|
if [ "${INSTALLED#*\~}" = "${TARBALL#*\~}" ]; then
|
|
|
|
# Only compare the part after '~'
|
|
|
|
|
|
|
|
if [ "${INSTALLED##*_}" = "${TARBALL#*\~}" ] ||[ "${INSTALLED#*\~}" = "${TARBALL#*\~}" ]; then
|
|
|
|
echo "Latest package '${PKGNAME}' version '${TARBALL}' is already built and installed."
|
|
|
|
echo "Latest package '${PKGNAME}' version '${TARBALL}' is already built and installed."
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|