ports/x11/lightdm-gtk-greeter-settings/files/patch-setup.py
Ben Woods 4deb13ef23 Add new port x11/lightdm-gtk-greeter-settings
Just a small dialog to make it easier for users to modify the settings
of lightdm-gtk-greeter.

WWW: https://launchpad.net/lightdm-gtk-greeter-settings
2020-03-08 03:11:46 +00:00

11 lines
585 B
Python

--- setup.py.orig 2020-03-08 02:41:05 UTC
+++ setup.py
@@ -63,7 +63,7 @@ class InstallAndUpdateDataDirectory(DistUtilsExtra.aut
values = {'__data_directory__': "'%s'" % (target_pkgdata),
'__version__': "'%s'" % self.distribution.get_version(),
- '__config_path__': '"/etc/lightdm/lightdm-gtk-greeter.conf"'}
+ '__config_path__': '"%%LOCALBASE%%/etc/lightdm/lightdm-gtk-greeter.conf"'}
write_config(self.install_lib, values)
desktop_file_path = os.path.join(self.install_data, 'share', 'applications',