2014-07-07 04:52:47 -04:00
|
|
|
#!/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"
|
2014-07-07 04:52:47 -04:00
|
|
|
|
2015-05-16 00:52:25 -04:00
|
|
|
# create /usr/local/bin/[package] program link
|
2015-05-20 09:46:37 -04:00
|
|
|
mkdir "/usr/local/bin"
|
2015-05-16 00:52:25 -04:00
|
|
|
ln -s "$SYNOPKG_PKGDEST/$SYNOPKG_PKGNAME.sh" "/usr/local/bin/$SYNOPKG_PKGNAME"
|
|
|
|
|
2015-05-03 11:57:56 -04:00
|
|
|
# create /usr/local/[package] link
|
2015-05-16 00:52:25 -04:00
|
|
|
ln -s "$SYNOPKG_PKGDEST" "/usr/local/$SYNOPKG_PKGNAME"
|
2014-07-07 04:52:47 -04:00
|
|
|
|
2015-02-23 02:02:25 -05:00
|
|
|
# return successfully
|
2014-07-07 04:52:47 -04:00
|
|
|
exit 0
|