set error handling in pre and post init script

This commit is contained in:
grunjol
2016-04-02 09:19:39 -03:00
parent faee840073
commit a064794c87
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#!/bin/sh
set -e
chmod +x /opt/webtorrent-desktop/WebTorrent
ln -s /opt/webtorrent-desktop/WebTorrent /usr/bin/webtorrent-desktop

View File

@@ -1,2 +1,3 @@
#!/bin/sh
set -e
rm /usr/bin/webtorrent-desktop