2014-07-07 08:52:47 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# allow read/write in application home folder
|
2014-08-03 07:30:41 +00:00
|
|
|
mkdir -m 777 "$SYNOPKG_PKGDEST/data"
|
|
|
|
chown -R admin.users "$SYNOPKG_PKGDEST/data"
|
2014-07-07 08:52:47 +00:00
|
|
|
|
2015-05-16 04:52:25 +00:00
|
|
|
# create /usr/local/bin/[package] program link
|
2015-05-20 13:46:37 +00:00
|
|
|
mkdir "/usr/local/bin"
|
2015-05-16 04:52:25 +00:00
|
|
|
ln -s "$SYNOPKG_PKGDEST/$SYNOPKG_PKGNAME.sh" "/usr/local/bin/$SYNOPKG_PKGNAME"
|
|
|
|
|
2015-05-03 15:57:56 +00:00
|
|
|
# create /usr/local/[package] link
|
2015-05-16 04:52:25 +00:00
|
|
|
ln -s "$SYNOPKG_PKGDEST" "/usr/local/$SYNOPKG_PKGNAME"
|
2014-07-07 08:52:47 +00:00
|
|
|
|
2015-02-23 07:02:25 +00:00
|
|
|
# return successfully
|
2014-07-07 08:52:47 +00:00
|
|
|
exit 0
|