Advice if you are installing a wrong release of multilibs.

This commit is contained in:
Matteo Rossini 2022-02-08 18:14:44 +01:00
parent 5a0799d39e
commit 73640a7454

View file

@ -2071,6 +2071,14 @@ if [ "$SLACKPKGPLUS" = "on" ];then
if echo "${!MIRRORPLUS[@]}"|grep -wq multilib;then if echo "${!MIRRORPLUS[@]}"|grep -wq multilib;then
MULTILIB_ACTION=" MULTILIB_ACTION="
# slackpkg install multilib" # slackpkg install multilib"
MULTILIB_VERSION=$(echo ${MIRRORPLUS['multilib']}|sed -r -e 's,/+$,,' -e 's,.*/,,')
if [ "$MULTILIB_VERSION" != "$MIRROR_VERSION" ];then
echo "WARNING: You have selected a mirror for Slackware $MIRROR_VERSION and a multilib
repository for Slackware $MULTILIB_VERSION. This may damage your system.
Please fix the configuration."|tee -a $TMPDIR/error.log
echo
sleep 5
fi
fi fi
if [ "${SLACKWARE_VERSION:0:2}" == "14" ]&&[ "$MIRROR_VERSION" == "15.0" ];then if [ "${SLACKWARE_VERSION:0:2}" == "14" ]&&[ "$MIRROR_VERSION" == "15.0" ];then
echo "WARNING: You have selected a mirror for Slackware 15.0 and you are running echo "WARNING: You have selected a mirror for Slackware 15.0 and you are running