1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-25 09:18:51 -05:00
filebot/installer/spk/scripts/postinst

15 lines
387 B
Plaintext
Raw Normal View History

#!/bin/sh
# allow read/write in application home folder
2014-08-03 03:30:41 -04:00
mkdir -m 777 "$SYNOPKG_PKGDEST/data"
chown -R admin.users "$SYNOPKG_PKGDEST/data"
# create /usr/local/bin/[package] program link
ln -s "$SYNOPKG_PKGDEST/$SYNOPKG_PKGNAME.sh" "/usr/local/bin/$SYNOPKG_PKGNAME"
# create /usr/local/[package] link
ln -s "$SYNOPKG_PKGDEST" "/usr/local/$SYNOPKG_PKGNAME"
# return successfully
exit 0