Merge pull request #30 from tterpelle/master

This commit is contained in:
Piter Punk 2023-04-10 17:07:12 -03:00 committed by GitHub
commit c1373776f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -160,7 +160,9 @@ function system_setup() {
# ${CONF}/blacklist.
[ "$CMD" != update ] && mkregex_blacklist
SLACKCFVERSION=$(grep "# v[0-9.]\+" $CONF/slackpkg.conf | cut -f2 -dv)
if [ -z "${SLACKCFVERSION}" ]; then
SLACKCFVERSION=$(grep "# v[0-9.]\+" $CONF/slackpkg.conf | cut -f2 -dv)
fi
CHECKSUMSFILE=${WORKDIR}/CHECKSUMS.md5
KERNELMD5=$(md5sum /boot/vmlinuz 2>/dev/null)
DIALOG_MAXARGS=${DIALOG_MAXARGS:-19500}

View file

@ -64,6 +64,10 @@
# as needed
#SLACKKEY="Slackware Linux Project <security@slackware.com>"
# SLACKCFVERSION defines the Slackware version. If left commented, it
# will be parsed from the 4th line of this unedited config file.
#SLACKCFVERSION=15.0
# Downloaded files will be in the TEMP directory:
TEMP=/var/cache/packages