decline to configure in offline mode
authorPhil Blundell <philb@gnu.org>
Tue, 3 Aug 2004 14:13:41 +0000 (14:13 +0000)
committerPhil Blundell <philb@gnu.org>
Tue, 3 Aug 2004 14:13:41 +0000 (14:13 +0000)
BKrev: 410f9d95-apSjMUgDkpHntGLhTYG3A

classes/gconf.oeclass

index 06697a7..cdf34af 100644 (file)
@@ -1,5 +1,8 @@
 gconf_postinst() {
 if [ "$1" = configure ]; then
+       if [ "x$D" != "x" ]; then
+               exit 1
+       fi
         SCHEMA_LOCATION=/etc/gconf/schemas
         for SCHEMA in ${SCHEMA_FILES}; do
                 if [ -e $SCHEMA_LOCATION/$SCHEMA ]; then