summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-02-15 15:57:10 +0100
committer Eric Hameleers <alien@slackware.com>2021-02-15 15:57:10 +0100
commitb756bf0461007240c32d6a7bf55d75ae32c035f7 (patch)
treeb03ca60a7ce9e2442f29e9d9c62d9584f267b81d /make_slackware_live.sh
parent75cb97a25a3a2b17b9d1efbf211915dd6343adbd (diff)
downloadliveslak-b756bf0461007240c32d6a7bf55d75ae32c035f7.tar.gz
liveslak-b756bf0461007240c32d6a7bf55d75ae32c035f7.tar.xz
New slackpkg installs a mirrors file with incorrect mirror enabled
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 788cebf..3d0dd91 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1791,6 +1791,8 @@ DEBUG_ETH_UP="no"
EOT
fi
+# First disable any potentially incorrect mirror for slackpkg:
+sed -e "s/^ *\([^#]\)/#\1/" -i ${LIVE_ROOTDIR}/etc/slackpkg/mirrors
# Enable a Slackware mirror for slackpkg:
cat <<EOT >> ${LIVE_ROOTDIR}/etc/slackpkg/mirrors
#http://mirrors.slackware.com/slackware/slackware${DIRSUFFIX}-${SL_VERSION}/