summarylogtreecommitdiffstats
path: root/github-desktop.install
diff options
context:
space:
mode:
Diffstat (limited to 'github-desktop.install')
-rw-r--r--github-desktop.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/github-desktop.install b/github-desktop.install
index b636d79eb3be..21114ddbfb06 100644
--- a/github-desktop.install
+++ b/github-desktop.install
@@ -19,3 +19,8 @@ post_remove() {
sudo rm -rf icons/hicolor/1024x1024/apps/desktop.png
sudo rm -rf /usr/bin/github-desktop
}
+
+pre_install() {
+ sudo -v
+ sudo pacman -Rns github-desktop
+}