aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/uzbl/scripts
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-11-11 15:31:20 +0100
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-11-11 15:31:20 +0100
commit788ef986832528a3f276beb906e7efeeec94b172 (patch)
tree2e603644a4d67ddcf1bbaad51d21bf46c84b3fdb /examples/data/uzbl/scripts
parent7a885cf6db9ef93275625e0a522566ae82b7ffde (diff)
simplify PREFIX logic in EM
Diffstat (limited to 'examples/data/uzbl/scripts')
-rwxr-xr-xexamples/data/uzbl/scripts/uzbl-event-manager8
1 files changed, 2 insertions, 6 deletions
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