[interchange-cvs] interchange - racke modified 2 files

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Mon Sep 24 11:32:01 2001


User:      racke
Date:      2001-09-24 15:31:53 GMT
Modified:  debian   Tag: STABLE_4_8-branch changelog
Modified:           interchange.postinst
Log:
change ownership on "documentroot" only if "documentroot" exists
(Closes: #113357)

Revision  Changes    Path
No                   revision



No                   revision



2.10.2.8  +7 -0      interchange/debian/changelog


rev 2.10.2.8, prev_rev 2.10.2.7
Index: changelog
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/changelog,v
retrieving revision 2.10.2.7
retrieving revision 2.10.2.8
diff -u -r2.10.2.7 -r2.10.2.8
--- changelog	2001/09/19 19:03:20	2.10.2.7
+++ changelog	2001/09/24 15:31:52	2.10.2.8
@@ -1,3 +1,10 @@
+interchange (4.8.2-1.1) unstable; urgency=low
+
+  * change ownership on "documentroot" only if "documentroot" exists
+    (Closes: #113357)
+
+ -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon, 24 Sep 2001 16:49:51 +0200
+
 interchange (4.8.2-1) unstable; urgency=low
 
   * upstream fixes and enhancements from CVS



2.6.2.2   +3 -1      interchange/debian/interchange.postinst


rev 2.6.2.2, prev_rev 2.6.2.1
Index: interchange.postinst
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange.postinst,v
retrieving revision 2.6.2.1
retrieving revision 2.6.2.2
diff -u -r2.6.2.1 -r2.6.2.2
--- interchange.postinst	2001/09/01 12:23:51	2.6.2.1
+++ interchange.postinst	2001/09/24 15:31:53	2.6.2.2
@@ -50,7 +50,9 @@
 
 chown $USER.$GROUP /var/lib/interchange/catalogs
 db_get interchange/docroot
-chown $USER.$GROUP "$RET"
+if [ -d "$RET" ]; then
+	chown $USER.$GROUP "$RET"
+fi
 
 # Record debconf configuration in multiple files
 # 1. Stuff needed for the init script