mirrorlist-package/tromjaro-mirrorlist.install

15 lines
264 B
Plaintext
Raw Normal View History

2019-11-04 14:17:09 +00:00
post_install() {
2019-11-04 14:25:56 +00:00
sed -i '/TROMrepo/,+2d' /etc/pacman.conf
sed -i '$a\
[TROMrepo]\
SigLevel = Never\
Include = /etc/pacman.d/tromjaro-mirrorlist' /etc/pacman.conf
2019-11-04 14:17:09 +00:00
}
post_upgrade() {
post_install
2019-11-04 14:30:46 +00:00
}
post_remove() {
sed -i '/TROMrepo/,+2d' /etc/pacman.conf
2019-11-04 14:17:09 +00:00
}