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

Stefan Hornburg interchange-cvs at icdevgroup.org
Tue Feb 23 16:13:29 UTC 2010


commit f7b4b4dbd399d58ca65ee8e1430477d20dd8eeaa
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