summaryrefslogtreecommitdiffstats
path: root/source/ap/slackpkg/files/core-functions.sh
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-12-13 20:10:04 +0000
committer Eric Hameleers <alien@slackware.com>2021-12-14 08:59:53 +0100
commitb88e2bb09498e9b75508b99af4e497cdf3dd4416 (patch)
treede2b5ca79f57d6a505661bb3471c9ed998b78da9 /source/ap/slackpkg/files/core-functions.sh
parentd17e0f6ea08590e21d572a2f9fab8d3785ce348a (diff)
downloadcurrent-b88e2bb09498e9b75508b99af4e497cdf3dd4416.tar.gz
current-b88e2bb09498e9b75508b99af4e497cdf3dd4416.tar.xz
Mon Dec 13 20:10:04 UTC 202120211213201004
ap/slackpkg-15.0.9-noarch-1.txz: Upgraded. files/mirrors-x86*: Remove bad mirrors from list (Emmet Ford) Automatically rebuild package lists if missing (Piter PUNK) xap/seamonkey-2.53.10.1-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.seamonkey-project.org/releases/seamonkey2.53.10.1 (* Security fix *) xap/xsnow-3.4.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/ap/slackpkg/files/core-functions.sh')
-rw-r--r--source/ap/slackpkg/files/core-functions.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/ap/slackpkg/files/core-functions.sh b/source/ap/slackpkg/files/core-functions.sh
index 5969ffcc4..463a1905d 100644
--- a/source/ap/slackpkg/files/core-functions.sh
+++ b/source/ap/slackpkg/files/core-functions.sh
@@ -243,11 +243,9 @@ ONE mirror in ${CONF}/mirrors and run:\n\n\
You can see more information about slackpkg functions in slackpkg manpage."
cleanup
elif [ "$CMD" != "new-config" ] && [ "$CMD" != "help" ]; then
- echo -e "\
-\nThe package list is missing.\n\
-Before you install|upgrade|reinstall anything you need to run:\n\n\
-\t# slackpkg update\n"
- cleanup
+ updatefilelists
+ mkregex_blacklist
+ UPDATED=1
fi
fi
@@ -1083,6 +1081,7 @@ Please check your mirror and try again."
function updatefilelists()
{
+ echo "Updating the package lists..."
if checkchangelog ; then
echo -e "\
\n\t\tNo changes in ChangeLog.txt between your last update and now.\n\