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:
7
setup.py
7
setup.py
@@ -187,7 +187,12 @@ class configure(Command):
|
|||||||
else:
|
else:
|
||||||
self.kdedir = kdedir_candidate + '/share/autostart'
|
self.kdedir = kdedir_candidate + '/share/autostart'
|
||||||
except (OSError, ValueError):
|
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'
|
self.python = '/usr/bin/python'
|
||||||
|
|||||||
Reference in New Issue
Block a user