[interchange-cvs] interchange - racke modified debian/interchange.postinst

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Mon Sep 24 12:42:00 2001


User:      racke
Date:      2001-09-24 16:41:42 GMT
Modified:  debian   interchange.postinst
Log:
merged changes 2.6.2.1 vs 2.6.2.2

Revision  Changes    Path
2.8       +3 -1      interchange/debian/interchange.postinst


rev 2.8, prev_rev 2.7
Index: interchange.postinst
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange.postinst,v
retrieving revision 2.7
retrieving revision 2.8
diff -u -r2.7 -r2.8
--- interchange.postinst	2001/09/02 07:45:13	2.7
+++ interchange.postinst	2001/09/24 16:41:42	2.8
@@ -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