mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2026-03-10 05:53:50 +01:00
fix var substitution
This commit is contained in:
parent
ec42d1113a
commit
1c7eb8b7e0
2
init
2
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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue