mirrorlist-package/tromjaro-mirrorlist.install
2019-11-04 14:30:46 +00:00

15 lines
264 B
Plaintext

post_install() {
sed -i '/TROMrepo/,+2d' /etc/pacman.conf
sed -i '$a\
[TROMrepo]\
SigLevel = Never\
Include = /etc/pacman.d/tromjaro-mirrorlist' /etc/pacman.conf
}
post_upgrade() {
post_install
}
post_remove() {
sed -i '/TROMrepo/,+2d' /etc/pacman.conf
}