summarylogtreecommitdiffstats
path: root/osticket.install
diff options
context:
space:
mode:
authorSigmund2015-06-16 18:54:27 +0100
committerSigmund2015-06-16 18:54:27 +0100
commit569a551c4526b079557f605c73004168c85538ba (patch)
tree8f17472a3a608fcf753e9adb3a07be2f9b9d92fb /osticket.install
downloadaur-569a551c4526b079557f605c73004168c85538ba.tar.gz
First commit
Diffstat (limited to 'osticket.install')
-rw-r--r--osticket.install39
1 files changed, 39 insertions, 0 deletions
diff --git a/osticket.install b/osticket.install
new file mode 100644
index 000000000000..e8edb9c40d87
--- /dev/null
+++ b/osticket.install
@@ -0,0 +1,39 @@
+post_install() {
+ echo -n "adding http system group... "
+ groupadd http
+ echo "done."
+ chgrp -R http /srv/http/osticket
+ post_upgrade
+ cat << 'EOM'
+
+==> NOTES:
+
+ -> In order to use osticket, you have to be in the 'http' group
+
+ -> Setup Apache, MySQL and PHP, following 'http://wiki.archlinux.org/index.php/LAMP'
+
+ -> To finish the installation process, navigate to 'http://localhost/osticket'
+ with your web browser.
+
+==> Need help installing osTicket?
+
+ -> Read Documentation at 'http://osticket.com/wiki/Main_Page'
+
+EOM
+}
+
+post_upgrade() {
+ true
+}
+
+pre_remove() {
+ true
+}
+
+post_remove() {
+ true
+}
+
+op=$1
+shift
+$op $*