From 788ef986832528a3f276beb906e7efeeec94b172 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 11 Nov 2009 15:31:20 +0100 Subject: simplify PREFIX logic in EM --- examples/data/uzbl/scripts/uzbl-event-manager | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'examples/data/uzbl/scripts') diff --git a/examples/data/uzbl/scripts/uzbl-event-manager b/examples/data/uzbl/scripts/uzbl-event-manager index eb4a470..8f43836 100755 --- a/examples/data/uzbl/scripts/uzbl-event-manager +++ b/examples/data/uzbl/scripts/uzbl-event-manager @@ -45,12 +45,8 @@ from traceback import print_exc # ::: Default configuration section :::::::::::::::::::::::::::::::::::::::::: # ============================================================================ -# Automagically set during `make install` -PREFIX = None - -# Check if PREFIX not set and set to default /usr/local/ -if not PREFIX: - PREFIX = '/usr/local/' +# `make install` will put the correct value here for your system +PREFIX = '/usr/local/' def xdghome(key, default): '''Attempts to use the environ XDG_*_HOME paths if they exist otherwise -- cgit v1.2.3