From 1c7eb8b7e0aecb29b702724c28d69e495eefcecf Mon Sep 17 00:00:00 2001 From: eoli3n Date: Fri, 1 May 2020 16:32:09 +0200 Subject: [PATCH] fix var substitution --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init b/init index 8485f67..c7bd0f7 100644 --- a/init +++ b/init @@ -16,7 +16,7 @@ grep archiso /proc/cmdline print "Set mirrorlist to current archiso date" iso_date=$(date +%Y/%m/%d -d "$(LANG=C pacman -Qi linux |sed -n 's/^Install Date\s*: //p')") -echo "Server=https://archive.archlinux.org/repos/$iso_date/$repo/os/$arch" > /etc/pacman.d/mirrorlist +echo "Server=https://archive.archlinux.org/repos/$iso_date/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist print "Add archzfs repo"