WhiskerWizRescue/archlive/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook
2024-09-19 21:53:41 +02:00

13 lines
330 B
Text

# 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