summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-03 14:13:41 +0000
committerPhil Blundell <philb@gnu.org>2004-08-03 14:13:41 +0000
commit8d10490e6117075ab69206c9fa70c585be221700 (patch)
tree455d9237ca77fe7557d1ca0f38280b825ae6cae8 /classes
parent2f011366460515568c9e6f44879e42fced69c486 (diff)
decline to configure in offline mode
BKrev: 410f9d95-apSjMUgDkpHntGLhTYG3A
Diffstat (limited to 'classes')
-rw-r--r--classes/gconf.oeclass3
1 files changed, 3 insertions, 0 deletions
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