filebot/installer/spk/scripts/postinst

12 lines
237 B
Bash

#!/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