diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-11-11 15:31:20 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-11-11 15:31:20 +0100 |
commit | 788ef986832528a3f276beb906e7efeeec94b172 (patch) | |
tree | 2e603644a4d67ddcf1bbaad51d21bf46c84b3fdb /examples/data/uzbl/scripts | |
parent | 7a885cf6db9ef93275625e0a522566ae82b7ffde (diff) |
simplify PREFIX logic in EM
Diffstat (limited to 'examples/data/uzbl/scripts')
-rwxr-xr-x | examples/data/uzbl/scripts/uzbl-event-manager | 8 |
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 |