tl-archconfig/tl-repos.install

10 lines
267 B
Plaintext
Raw Normal View History

post_install() {
# Add the new config to pacman.conf
echo -n "Include = /etc/pacman.d/tl/tl-repos.conf" >> /etc/pacman.conf
}
post_remove() {
# Remove the config line from pacman.conf
sed -i '/^Include = \/etc\/pacman.d\/tl\/tl-repos.conf$/d' /etc/pacman.conf
}