1
0
Fork 0
forked from mirrors/openup

drop 5.6 support completely

This commit is contained in:
Robert Nagy 2015-10-14 14:01:19 +02:00
commit b7ebb7253b

10
openup
View file

@ -43,7 +43,7 @@ PKG_PATH_UPDATE="https://stable.mtier.org/updates/$(uname -r)/$(arch -s)"
VUXML_URL="https://stable.mtier.org/vuxml/$(uname -r | tr -d '.').xml"
# fetch command (must behave like "ftp -o"); e.g. "wget -qO"
FETCH="ftp -Vo"
FETCH="ftp -MVo"
# exclusion list: pkg names without version/flavor, separated by space
EXCLUDE_PKG=""
@ -164,8 +164,7 @@ update_pkg() {
check_vuxml() {
local _BP_MATCH _OUTDATED _PKG_MATCH _b _e _p
# XXX5.6 drop redirect to /dev/null when 5.6 is out of support
${FETCH} ${_TMPVUXML} ${VUXML_URL} >/dev/null || bye_bye
${FETCH} ${_TMPVUXML} ${VUXML_URL} || bye_bye
perl -pi -e 's,\$ARCH,'"${_ARCH}"',g' ${_TMPVUXML}
_BP_MATCH="$(grep binpatch ${_TMPVUXML} | sed -e 's,<name>,,g;s,</name>,,g;s,\$ARCH,'"${_ARCH}"',g' | sort -u)"
@ -242,11 +241,6 @@ if [ -n "${_badrel}" ]; then
exit 1
fi
# XXX5.6 drop when 5.6 is out of support
if [ "${_REL_INT}" -ge 57 ]; then
FETCH="ftp -MVo"
fi
while getopts 'KSc' arg; do
case ${arg} in
K) nokrn=1 ;;