From 8d10490e6117075ab69206c9fa70c585be221700 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Tue, 3 Aug 2004 14:13:41 +0000 Subject: decline to configure in offline mode BKrev: 410f9d95-apSjMUgDkpHntGLhTYG3A --- classes/gconf.oeclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/gconf.oeclass b/classes/gconf.oeclass index 06697a71ea..cdf34af899 100644 --- a/classes/gconf.oeclass +++ b/classes/gconf.oeclass @@ -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 -- cgit v1.2.3