filebot/installer/spk/scripts/postinst

12 lines
238 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/local/bin/filebot
# end
exit 0