index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2021-01-24 17:29:01 +0200 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2021-01-27 00:07:45 +0200 |
commit | 4f4047a3f8927e58d79e396bdd032b9c24bd1f19 (patch) | |
tree | 8c0573825bb427f47380a73570533f27a6a132a0 /configs/releng | |
parent | a2c8dd31731916600c5e4eb6b7d08a8ff9e287d3 (diff) |
-rw-r--r-- | configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook | 12 | ||||
-rwxr-xr-x | configs/releng/airootfs/root/customize_airootfs.sh | 2 |
diff --git a/configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook b/configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook new file mode 100644 index 0000000..ad0b5ba --- /dev/null +++ b/configs/releng/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook @@ -0,0 +1,12 @@ +[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 diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh index dbcde48..5a39523 100755 --- a/configs/releng/airootfs/root/customize_airootfs.sh +++ b/configs/releng/airootfs/root/customize_airootfs.sh @@ -8,5 +8,3 @@ set -e -u sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen locale-gen - -sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist |