summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook
blob: 342aa95b4a48fec6ae5376c6ca82397ff26f3ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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