summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-04-04 16:55:15 +0000
committerRobby Workman <rworkman@slackware.com>2021-04-04 22:17:52 -0500
commit9cd55c9ae2e6c15b2557749ba9f5099606f6ed56 (patch)
treec86a0ebdf6afdd98ab23228ea355d4a6aa171346
parenta1dd8f3f53eb559b9d5e3bc6e92121664c8abc5d (diff)
downloadslackpkg-9cd55c9ae2e6c15b2557749ba9f5099606f6ed56.tar.xz
Don't create blacklist when running update.
-rw-r--r--files/core-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh
index 1e7dfb4..1f4faf3 100644
--- a/files/core-functions.sh
+++ b/files/core-functions.sh
@@ -163,7 +163,7 @@ function system_setup() {
# Create initial blacklist of single package names from regexps in
# ${CONF}/blacklist.
- mkregex_blacklist
+ [ "$CMD" != update ] && mkregex_blacklist
SLACKCFVERSION=$(grep "# v[0-9.]\+" $CONF/slackpkg.conf | cut -f2 -dv)
CHECKSUMSFILE=${WORKDIR}/CHECKSUMS.md5