mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-26 21:58:27 +01:00
Merge pull request #30 from tterpelle/master
This commit is contained in:
commit
c1373776f7
2 changed files with 7 additions and 1 deletions
|
@ -160,7 +160,9 @@ function system_setup() {
|
||||||
# ${CONF}/blacklist.
|
# ${CONF}/blacklist.
|
||||||
[ "$CMD" != update ] && mkregex_blacklist
|
[ "$CMD" != update ] && mkregex_blacklist
|
||||||
|
|
||||||
|
if [ -z "${SLACKCFVERSION}" ]; then
|
||||||
SLACKCFVERSION=$(grep "# v[0-9.]\+" $CONF/slackpkg.conf | cut -f2 -dv)
|
SLACKCFVERSION=$(grep "# v[0-9.]\+" $CONF/slackpkg.conf | cut -f2 -dv)
|
||||||
|
fi
|
||||||
CHECKSUMSFILE=${WORKDIR}/CHECKSUMS.md5
|
CHECKSUMSFILE=${WORKDIR}/CHECKSUMS.md5
|
||||||
KERNELMD5=$(md5sum /boot/vmlinuz 2>/dev/null)
|
KERNELMD5=$(md5sum /boot/vmlinuz 2>/dev/null)
|
||||||
DIALOG_MAXARGS=${DIALOG_MAXARGS:-19500}
|
DIALOG_MAXARGS=${DIALOG_MAXARGS:-19500}
|
||||||
|
|
|
@ -64,6 +64,10 @@
|
||||||
# as needed
|
# as needed
|
||||||
#SLACKKEY="Slackware Linux Project <security@slackware.com>"
|
#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:
|
# Downloaded files will be in the TEMP directory:
|
||||||
TEMP=/var/cache/packages
|
TEMP=/var/cache/packages
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue