SpectreOS/configs/pacman-hooks/pacmanconf.hook

10 lines
266 B
Text
Executable file

[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"