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

Made the wicd-curses script add WHEREAREMYFILES

Moved WHEREAREMYFILES to /var/lib/wicd, and adapted setup.py, wpath.py, and
  the wicd-client script to support it
Fixed a typo in setup.py
This commit is contained in:
Andrew Psaltis
2009-03-06 19:28:09 -05:00
parent ff71e4d130
commit 45eae059e5
5 changed files with 23 additions and 7 deletions

View File

@@ -68,6 +68,7 @@ class configure(Command):
('icons=', None, "set the base directory for the .desktop file's icons"),
('translations=', None, 'set the directory translations are stored in'),
('autostart=', None, 'set the directory that will be autostarted on desktop login'),
('varlib=',None , 'set the path for wicd\'s variable state data'),
('init=', None, 'set the directory for the init file'),
('docdir=', None, 'set the directory for the documentation'),
('mandir=', None, 'set the directory for the man pages'),
@@ -104,7 +105,8 @@ class configure(Command):
self.bin = '/usr/bin/'
self.sbin = '/usr/sbin/'
self.backends = self.lib + 'backends'
self.networks = '/var/lib/wicd/configurations/'
self.varlib = '/var/lib/wicd/'
self.networks = self.varlib + 'configurations/'
self.log = '/var/log/wicd/'
self.resume = '/etc/acpi/resume.d/'
self.suspend = '/etc/acpi/suspend.d/'
@@ -438,7 +440,8 @@ try:
data.append (( piddir, [] ))
if not wpath.no_install_docs:
data.append((wpath.docdir, ['INSTALL', 'LICENSE', 'AUTHORS',
'README', 'CHANGES', 'other/WHEREAREMYFILES']))
'README', 'CHANGES', ]))
data.append((wpath.varlib, ['other/WHEREAREMYFILES']))
if not wpath.no_install_kde:
data.append((wpath.kdedir, ['other/wicd-tray.desktop']))
if not wpath.no_install_init: