diff --git a/static/linux/postinst b/static/linux/postinst index ab6b9eae..19145082 100644 --- a/static/linux/postinst +++ b/static/linux/postinst @@ -1,3 +1,4 @@ #!/bin/sh +set -e chmod +x /opt/webtorrent-desktop/WebTorrent ln -s /opt/webtorrent-desktop/WebTorrent /usr/bin/webtorrent-desktop diff --git a/static/linux/postrm b/static/linux/postrm index aaf63fb6..dec86c69 100644 --- a/static/linux/postrm +++ b/static/linux/postrm @@ -1,2 +1,3 @@ #!/bin/sh +set -e rm /usr/bin/webtorrent-desktop