Skip to content

Commit

Permalink
debian installer: remove the apt repo after unistallation
Browse files Browse the repository at this point in the history
  • Loading branch information
priyank-p committed Dec 5, 2017
1 parent fe9c66d commit dab92be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
},
"deb": {
"synopsis": "Zulip Desktop App",
"afterInstall": "./scripts/debian-add-repo.sh"
"afterInstall": "./scripts/debian-add-repo.sh",
"afterRemove": "./scripts/debain-remove-repo.sh"
},
"dmg": {
"background": "build/appdmg.png",
Expand Down
4 changes: 4 additions & 0 deletions scripts/debain-remove-repo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

sudo apt-key del 69AD12704E71A4803DCA3A682424BE5AE9BD10D9
sudo rm /etc/apt/sources.list.d/zulip.list

0 comments on commit dab92be

Please sign in to comment.