Make sure postinstall always return exit code 0 (even if filebot command symlink doesn't work for some odd reason)

This commit is contained in:
Reinhard Pointner 2018-11-20 16:13:43 +07:00
parent 7ea854dcd1
commit f7237dd237
1 changed files with 8 additions and 2 deletions

View File

@ -1,2 +1,8 @@
#!/bin/sh
ln -sf /Applications/FileBot.app/Contents/MacOS/filebot.sh /usr/local/bin/filebot
#!/bin/sh -xu
# $2: Full path to the installation destination.
# For example: /Applications
ln -sf $2/FileBot.app/Contents/MacOS/filebot.sh /usr/local/bin/filebot
exit 0