aboutsummaryrefslogtreecommitdiff
path: root/debian/boca-common.postinst
diff options
context:
space:
mode:
authorBruno Cesar Ribas <bcribas@users.noreply.github.com>2023-03-04 11:36:49 +0000
committerGitHub <noreply@github.com>2023-03-04 11:36:49 +0000
commit7715b58718738dbe77e83daa24575ded16a2d4b9 (patch)
treeb91c2f97418efc521508328f593d02263458bfb9 /debian/boca-common.postinst
parent11520ed4482a4dbf3540daef90d6404d4460b6c1 (diff)
parent818abd88d819c860e95e8e8f34bf4bbcd13966c1 (diff)
downloadboca-7715b58718738dbe77e83daa24575ded16a2d4b9.tar.gz
boca-7715b58718738dbe77e83daa24575ded16a2d4b9.zip
Merge pull request #21 from DaviAntonio/migrate-to-jammy
Migrate to jammy and release version 1.5.16
Diffstat (limited to 'debian/boca-common.postinst')
-rw-r--r--debian/boca-common.postinst10
1 files changed, 7 insertions, 3 deletions
diff --git a/debian/boca-common.postinst b/debian/boca-common.postinst
index 0a35a35..3ff74f1 100644
--- a/debian/boca-common.postinst
+++ b/debian/boca-common.postinst
@@ -1,10 +1,9 @@
#!/bin/bash
+set -e
chmod 700 /usr/sbin/boca-config-dbhost
chmod 700 /usr/sbin/boca-fixssh
-set -e
-
. /usr/share/debconf/confmodule
priority=high
@@ -48,6 +47,11 @@ case "$1" in
esac
chmod 600 /var/www/boca/src/private/conf.php
-chown www-data.www-data /var/www/boca/src/private/conf.php
+chown www-data:www-data /var/www/boca/src/private/conf.php
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
exit 0