1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00

If kde-config fails, then assume kde is not installed, and don't

install the autostart file for kde.
This commit is contained in:
Robby Workman
2008-12-31 23:53:30 -06:00
parent f67c171b2c
commit 62ce9b9852

View File

@@ -187,7 +187,12 @@ class configure(Command):
else:
self.kdedir = kdedir_candidate + '/share/autostart'
except (OSError, ValueError):
pass # use our default
# If kde-config isn't present or returns an error, then we can
# assume that kde isn't installed on the user's system
self.no_install_kde = True
# If it turns out that the assumption above is wrong, then we'll
# do this instead:
#pass # use our default
self.python = '/usr/bin/python'