File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,12 @@ function system_setup() {
6464 # Create $WORKDIR just in case
6565 mkdir -p " ${WORKDIR} "
6666
67+ # Set the "current" flag if system is running Slackware Current
68+ if [ -n " $( echo $SLACKWARE_VERSION | sed -ne ' s/.*\(+\|current\)$/\1/pi' ) " ] && \
69+ [ ! -e ${WORKDIR} /current ]; then
70+ touch ${WORKDIR} /current
71+ fi
72+
6773 # Select the command to fetch files and packages from network sources
6874 if [ " $DOWNLOADER " = " curl" ]; then
6975 DOWNLOADER=" curl ${CURLFLAGS} -o"
@@ -190,7 +196,7 @@ as example or overwrite it with slackpkg.conf.new.\n\
190196 if [ " $ARCH " = " none" ] && [ " $CMD " != " new-config" ]; then
191197 echo -e " \
192198\nThe ARCH values in slackpkg.conf are now different. You can remove\n\
193- ARCH from there, and slackpkg you use your current ARCH or you can look\n\
199+ ARCH from there, and slackpkg will use your current ARCH or you can look\n\
194200at slackpkg.conf.new or slackpkg.conf manual page to see the new valid\n\
195201ARCH values\n"
196202 cleanup
Original file line number Diff line number Diff line change @@ -102,7 +102,11 @@ is /var/lib/slackpkg.
102102.B DOWNLOADER
103103.br
104104Selects the download application slackpkg will use to fetch files.
105- Current options are \fB curl \fR or \fB wget \fR . Default is wget.
105+ Current options are "curl" or "wget".
106+
107+ The default value of
108+ .B DOWNLOADER
109+ is "wget"
106110
107111.TP 5
108112.B CURLFLAGS
Original file line number Diff line number Diff line change @@ -74,9 +74,7 @@ TEMP=/var/cache/packages
7474# Package lists, file lists, and others will be stored in WORKDIR:
7575WORKDIR=/var/lib/slackpkg
7676
77- # Use curl or wget for Downloading (wget is default)
78- #DOWNLOADER=curl
79-
77+ # Use curl or wget for downloading (wget is default)
8078DOWNLOADER=wget
8179
8280# Special options for curl
You can’t perform that action at this time.
0 commit comments