set error handling in pre and post init script

This commit is contained in:
grunjol
2016-04-02 09:19:39 -03:00
parent 0bd41a52b4
commit 6fb652ded0
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