SpectreOS/configs/pacman-hooks/pacmanconf.hook

11 lines
266 B
Text
Raw Normal View History

2022-10-04 19:01:31 +02:00
[Trigger]
Operation = Upgrade
Type = Package
Target = pacman
Target = pacman-mirrorlist
[Action]
Description = Updating pacman-mirrorlist and the pacman config after updating
When = PostTransaction
Exec = /bin/bash -c "cp /opt/SpectreOS/%VERSION% /etc/pacman.conf"