#!/bin/sh
# allow read/write in application home folder
mkdir -m 777 "$SYNOPKG_PKGDEST/data"
chown -R admin.users "$SYNOPKG_PKGDEST/data"
# create /bin symlink
ln -s -f "$SYNOPKG_PKGDEST/filebot.sh" /usr/syno/bin/filebot
# end
exit 0