mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
Advice if you are installing a wrong release of multilibs.
This commit is contained in:
parent
5a0799d39e
commit
73640a7454
1 changed files with 10 additions and 2 deletions
|
@ -2071,6 +2071,14 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
if echo "${!MIRRORPLUS[@]}"|grep -wq multilib;then
|
||||
MULTILIB_ACTION="
|
||||
# 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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue