summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-06-24 21:50:27 +0200
committer Eric Hameleers <alien@slackware.com>2018-06-24 21:50:27 +0200
commitff721ed31f2f299e3ae79b69f0bb3eb3a940d3ae (patch)
treeaefeb2197a2e0a230cfb531e73b673d1047dbb32 /make_slackware_live.sh
parentdbf3213ca258f4a5a3ac43ff98f7898f3e9b42ce (diff)
downloadliveslak-ff721ed31f2f299e3ae79b69f0bb3eb3a940d3ae.tar.gz
liveslak-ff721ed31f2f299e3ae79b69f0bb3eb3a940d3ae.tar.xz
Slackpkg started requiring opt-in to using it on slackware-current
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 680d128..081b8c4 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1377,6 +1377,12 @@ MIRRORPLUS['mate']=http://slackware.uk/msb/${SL_VERSION}/latest/${SL_ARCH}/
EOPL
fi
+# Slackpkg wants you to opt-in on slackware-current:
+if [ "${SL_VERSION}" = "current" ]; then
+ mkdir -p /var/lib/slackpkg
+ touch /var/lib/slackpkg/current
+fi
+
ARCH=${SL_ARCH} /usr/sbin/slackpkg -batch=on update gpg
ARCH=${SL_ARCH} /usr/sbin/slackpkg -batch=on update
# Let any lingering .new files replace their originals: