From 8a86b310630fab17256339fa18f26d8d5c190199 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 5 Nov 2021 22:52:53 -0400 Subject: Inital commit --- airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook (limited to 'airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook') diff --git a/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook new file mode 100644 index 0000000..342aa95 --- /dev/null +++ b/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook @@ -0,0 +1,13 @@ +# remove from airootfs! +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = pacman-mirrorlist + +[Action] +Description = Uncommenting all mirrors in /etc/pacman.d/mirrorlist... +When = PostTransaction +Depends = pacman-mirrorlist +Depends = sed +Exec = /usr/bin/sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist -- cgit v1.2.3