Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Create directory for static HTML files and grant it to the

interchange user
  • Loading branch information...
commit fccdd5f5ff35baec740a7a68183579892794f424 1 parent 7c48a78
@racke racke authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 debian/interchange.postinst
View
9 debian/interchange.postinst
@@ -129,6 +129,15 @@ fi
# Make configuration files owned by the interchange user
chown -R $USER.$GROUP /etc/interchange
+# Create directory for static HTML files and grant it to the
+# interchange user
+db_get interchange/docroot
+DOCROOT="$RET"
+if [ "$DOCROOT" ]; then
+ mkdir -p 755 $DOCROOT
+ chown $USER.$GROUP $DOCROOT
+fi
+
# Check if we delay the startup
if [ -f /var/run/interchange-install ]; then
PACKAGES=""
Please sign in to comment.
Something went wrong with that request. Please try again.