diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2025-09-05 17:38:13 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2025-09-05 17:38:13 -0400 |
| commit | 0b11c5f77323f72fb56f8dc217c726133860f1f9 (patch) | |
| tree | 078f5727f48c7b12f24f3e4d55f919c64eb74458 /archiso_config/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook | |
| parent | 158aad959cab6784d06728f617ee6255d4c2f7fe (diff) | |
| download | voussoir-0b11c5f77323f72fb56f8dc217c726133860f1f9.tar.gz voussoir-0b11c5f77323f72fb56f8dc217c726133860f1f9.tar.xz | |
Pull in some stuff from releng and add some AUR packages.
Diffstat (limited to 'archiso_config/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook')
| -rw-r--r-- | archiso_config/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archiso_config/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/archiso_config/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook new file mode 100644 index 0000000..342aa95 --- /dev/null +++ b/archiso_config/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 |
