From 675f34d5a4067cff928cd8d821bc544337998369 Mon Sep 17 00:00:00 2001 From: davedatum Date: Mon, 4 Nov 2019 14:30:46 +0000 Subject: [PATCH] added post_remove to install file --- tromjaro-mirrorlist.install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tromjaro-mirrorlist.install b/tromjaro-mirrorlist.install index 5966d56..db2df9b 100644 --- a/tromjaro-mirrorlist.install +++ b/tromjaro-mirrorlist.install @@ -8,4 +8,8 @@ Include = /etc/pacman.d/tromjaro-mirrorlist' /etc/pacman.conf post_upgrade() { post_install +} + +post_remove() { +sed -i '/TROMrepo/,+2d' /etc/pacman.conf } \ No newline at end of file