From 707e198dca9091653d092c8d91ba25d78825e916 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 4 Jun 2009 12:12:45 +0200 Subject: [PATCH] 'fixed ftp mirror after installation' --- usr/share/archboot/installer/setup | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index 059939203..1c5a2e894 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -2861,6 +2861,7 @@ auto_ftpmirror() # /etc/pacman.d/mirrorlist # add installer-selected mirror to the top of the mirrorlist if [ "$MODE" = "ftp" -a "${SYNC_URL}" != "" ]; then + SYNC_URL="$(echo ${SYNC_URL} | sed 's/core/\$repo/g')" awk "BEGIN { printf(\"# Mirror used during installation\nServer = "${SYNC_URL}"\n\n\") } 1 " "${DESTDIR}/etc/pacman.d/mirrorlist" > /tmp/inst-mirrorlist mv /tmp/inst-mirrorlist "${DESTDIR}/etc/pacman.d/mirrorlist" fi