[interchange] fix failures of fresh Interchange installs due to postinst script trying to change
Stefan Hornburg
interchange-cvs at icdevgroup.org
Wed Feb 10 10:10:12 UTC 2010
commit 53429f460c0bf2cd386101eef6a4ef1d718627b4
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Wed Feb 10 11:05:58 2010 +0100
fix failures of fresh Interchange installs due to postinst script trying to change
ownership on non-existant /var/run/interchange directory (#569116)
debian/interchange.postinst | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/debian/interchange.postinst b/debian/interchange.postinst
index 081fbb3..1230b01 100755
--- a/debian/interchange.postinst
+++ b/debian/interchange.postinst
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2002,2003,2004,2006,2007,2009 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2001,2002,2003,2004,2006,2007,2009,2010 by Stefan Hornburg (Racke) <racke at linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -38,10 +38,9 @@ if ! grep -q ^$USER: /etc/passwd; then
adduser --system --ingroup $GROUP --home /usr/lib/interchange $USER
fi
-# Ensure correct permissions for directories with log files resp. PID file
+# Ensure correct permissions for directories with log files
chown -R $USER.$GROUP /var/log/interchange
chmod 770 /var/log/interchange
-chown -R $USER.$GROUP /var/run/interchange
chown -R $USER.$GROUP /usr/lib/cgi-bin/ic
chmod u+s /usr/lib/cgi-bin/ic/*
More information about the interchange-cvs
mailing list