mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-13 20:01:04 +01:00
some cosmetic report (thx to marav)
This commit is contained in:
parent
7c747e729a
commit
c99ebe47ac
1 changed files with 14 additions and 9 deletions
|
@ -2039,13 +2039,17 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
You can continue anyway"|tee -a $TMPDIR/info.log
|
You can continue anyway"|tee -a $TMPDIR/info.log
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
if echo "${!MIRRORPLUS[@]}"|grep -wq multilib;then
|
||||||
|
MULTILIB_ACTION="
|
||||||
|
# slackpkg install multilib"
|
||||||
|
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
|
||||||
slackware $SLACKWARE_VERSION; if you are upgrading slackware be
|
slackware $SLACKWARE_VERSION; if you are upgrading slackware be
|
||||||
sure to run following steps:
|
sure to run following steps:
|
||||||
# slackpkg update
|
# slackpkg update
|
||||||
# slackpkg install-new
|
# slackpkg install-new$MULTILIB_ACTION
|
||||||
# slackpkg upgrade
|
# slackpkg upgrade-all
|
||||||
# slackpkg clean-system
|
# slackpkg clean-system
|
||||||
|
|
||||||
This message will disappear when the upgrade will finish"|tee -a $TMPDIR/info.log
|
This message will disappear when the upgrade will finish"|tee -a $TMPDIR/info.log
|
||||||
|
@ -2065,8 +2069,8 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
You are running Slackware $SLACKWARE_VERSION; if you are upgrading slackware be
|
You are running Slackware $SLACKWARE_VERSION; if you are upgrading slackware be
|
||||||
sure to run following steps:
|
sure to run following steps:
|
||||||
# slackpkg update
|
# slackpkg update
|
||||||
# slackpkg install-new
|
# slackpkg install-new$MULTILIB_ACTION
|
||||||
# slackpkg upgrade
|
# slackpkg upgrade-all
|
||||||
# slackpkg clean-system
|
# slackpkg clean-system
|
||||||
|
|
||||||
If this is an error please fix the configuration."|tee -a $TMPDIR/info.log
|
If this is an error please fix the configuration."|tee -a $TMPDIR/info.log
|
||||||
|
@ -2077,7 +2081,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
You are running Slackware $SLACKWARE_VERSION; if you are upgrading slackware be
|
You are running Slackware $SLACKWARE_VERSION; if you are upgrading slackware be
|
||||||
sure to run following steps:
|
sure to run following steps:
|
||||||
# slackpkg update
|
# slackpkg update
|
||||||
# slackpkg install-new
|
# slackpkg install-new$MULTILIB_ACTION
|
||||||
# slackpkg upgrade
|
# slackpkg upgrade
|
||||||
# slackpkg clean-system"|tee -a $TMPDIR/info.log
|
# slackpkg clean-system"|tee -a $TMPDIR/info.log
|
||||||
echo
|
echo
|
||||||
|
@ -2088,10 +2092,11 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
[ ! -s $WORKDIR/pkglist ] && rm -f $WORKDIR/CHECKSUMS.md5.asc
|
[ ! -s $WORKDIR/pkglist ] && rm -f $WORKDIR/CHECKSUMS.md5.asc
|
||||||
if ! grep -q "slackpkgplus repositories" $WORKDIR/CHECKSUMS.md5.asc 2>/dev/null &&
|
if ! grep -q "slackpkgplus repositories" $WORKDIR/CHECKSUMS.md5.asc 2>/dev/null &&
|
||||||
[ "$CMD" != "update" ] && [ "$CMD" != "new-config" ] && [ "$CMD" != "help" ];then
|
[ "$CMD" != "update" ] && [ "$CMD" != "new-config" ] && [ "$CMD" != "help" ];then
|
||||||
echo "======================================================"
|
echo "========================================================="
|
||||||
echo "We need to force 'slackpkg update' to enable slackpkg+"
|
echo "slackpkg was upgrades or slackpkg+ was temporary disabled"
|
||||||
echo "Then you can rerun '$CMD' command "
|
echo "We need to force 'slackpkg update' to re-enable slackpkg+"
|
||||||
echo "======================================================"
|
echo "Then you can re-run '$CMD' command "
|
||||||
|
echo "========================================================="
|
||||||
echo
|
echo
|
||||||
echo "slackpkg forced to rebuild pkglist database" >> $TMPDIR/info.log
|
echo "slackpkg forced to rebuild pkglist database" >> $TMPDIR/info.log
|
||||||
echo "Please may try 'slackpkg $CMD $INPUTLIST' now" >> $TMPDIR/info.log
|
echo "Please may try 'slackpkg $CMD $INPUTLIST' now" >> $TMPDIR/info.log
|
||||||
|
|
Loading…
Reference in a new issue