summarylogtreecommitdiffstats
path: root/kopano-webapp.install
diff options
context:
space:
mode:
authorYour Name2022-03-31 21:36:47 +0200
committerYour Name2022-03-31 21:36:47 +0200
commit05fa7de33def5dd0a35483c820bdfd3d53a1ca14 (patch)
tree3564523864f58e234fe178dcdc2ddfabd816d752 /kopano-webapp.install
parentd9d145c6e74a09539f9ed6496898476214abd6f9 (diff)
downloadaur-05fa7de33def5dd0a35483c820bdfd3d53a1ca14.tar.gz
next iteration
Diffstat (limited to 'kopano-webapp.install')
-rw-r--r--kopano-webapp.install22
1 files changed, 0 insertions, 22 deletions
diff --git a/kopano-webapp.install b/kopano-webapp.install
deleted file mode 100644
index 08d47de1c5c9..000000000000
--- a/kopano-webapp.install
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-# care about existing files
-function installdir() {
- local owner="$1"
- local moddir="$2"
- local modfile="$3"
- local directory="$4"
-
- mkdir -p "$directory"
- find $directory -exec chown "$owner" {} \;
- find $directory -type f -exec chmod "$modfile" {} \;
- find $directory -type d -exec chmod "$moddir" {} \;
-}
-
-post_install() {
- cp -n /etc/webapps/kopano-webapp/config.example.php /etc/webapps/kopano-webapp/config.php
- cp -n /etc/webapps/kopano-webapp/debug.example.php /etc/webapps/kopano-webapp/debug.php
-
- installdir http:http 0700 0600 /var/log/kopano-webapp
- installdir http:http 0700 0600 /var/lib/kopano-webapp
-} \ No newline at end of file