aboutsummaryrefslogtreecommitdiff
path: root/subsonic-installer-mac/src/postinstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-installer-mac/src/postinstall.sh')
-rw-r--r--subsonic-installer-mac/src/postinstall.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/subsonic-installer-mac/src/postinstall.sh b/subsonic-installer-mac/src/postinstall.sh
new file mode 100644
index 00000000..95ddc230
--- /dev/null
+++ b/subsonic-installer-mac/src/postinstall.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+SUBSONIC_HOME="/Library/Application Support/Subsonic"
+
+chmod oug+rwx "$SUBSONIC_HOME"
+chown root:admin "$SUBSONIC_HOME"
+
+chmod oug+rx "$SUBSONIC_HOME/transcode"
+chown root:admin "$SUBSONIC_HOME/transcode"
+
+rm -rf "$SUBSONIC_HOME/jetty"
+
+echo Subsonic installation done