[interchange/DEB_5_7_4: 5/9] fix failures of fresh Interchange installs due to postinst script trying to change

Stefan Hornburg <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit f7b4b4dbd399d58ca65ee8e1430477d20dd8eeaa
Author: Stefan Hornburg (Racke) <[email protected]>
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) <[email protected]>
+# Copyright 2001,2002,2003,2004,2006,2007,2009,2010 by Stefan Hornburg (Racke) <[email protected]>
 #
 # 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/*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.