mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
Make difference in switching from current >15.0 or from <15.0 to 15.0
This commit is contained in:
parent
64138241c3
commit
8cba5ce103
1 changed files with 15 additions and 9 deletions
|
@ -2102,17 +2102,23 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
EXIT_CODE=1
|
||||
cleanup
|
||||
elif [ ! -e ${WORKDIR}/current ]&&[ -e ${WORKDIR}/currentplus ];then
|
||||
if [ "$SLACKWARE_VERSION" == "15.0+" ];then
|
||||
echo "WARNING: You have changed the mirror from Slackware current to $MIRROR_VERSION;
|
||||
You are running Slackware $SLACKWARE_VERSION; this means a system DOWNGRADE!
|
||||
|
||||
Be careful! If that's not what you want please check and fix your configuration!
|
||||
"|tee -a $TMPDIR/error.log
|
||||
sleep 5
|
||||
else
|
||||
echo "INFO: You have changed the mirror from Slackware current to $MIRROR_VERSION;
|
||||
You are running Slackware $SLACKWARE_VERSION; if you are upgrading slackware be
|
||||
sure to run following steps:
|
||||
# slackpkg update
|
||||
# slackpkg install-new$MULTILIB_ACTION
|
||||
# slackpkg upgrade-all
|
||||
# slackpkg clean-system
|
||||
|
||||
If this is an error please fix the configuration."|tee -a $TMPDIR/info.log
|
||||
# slackpkg clean-system"|tee -a $TMPDIR/info.log
|
||||
fi
|
||||
echo
|
||||
sleep 5
|
||||
elif [ -e ${WORKDIR}/current ]&&[ ! -e ${WORKDIR}/currentplus ];then
|
||||
echo "INFO: You have changed the mirror to Slackware current;
|
||||
You are running Slackware $SLACKWARE_VERSION; if you are upgrading slackware be
|
||||
|
|
Loading…
Reference in a new issue