diff options
Diffstat (limited to 'debian/patches/06_change-user-dirs.patch')
-rw-r--r-- | debian/patches/06_change-user-dirs.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/06_change-user-dirs.patch b/debian/patches/06_change-user-dirs.patch new file mode 100644 index 0000000..ae2f1f0 --- /dev/null +++ b/debian/patches/06_change-user-dirs.patch @@ -0,0 +1,33 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -78,7 +78,7 @@ lightdm_CFLAGS = \ + $(LIGHTDM_CFLAGS) \ + -I"$(top_srcdir)/common" \ + -DSBIN_DIR=\"$(sbindir)\" \ +- -DUSERS_DIR=\"$(localstatedir)/lib/lightdm-data\" \ ++ -DUSERS_DIR=\"$(localstatedir)/lib/lightdm/data\" \ + -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \ + -DRUN_DIR=\"$(localstatedir)/run/lightdm\" \ + -DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \ +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -476,7 +476,7 @@ lightdm_CFLAGS = \ + $(LIGHTDM_CFLAGS) \ + -I"$(top_srcdir)/common" \ + -DSBIN_DIR=\"$(sbindir)\" \ +- -DUSERS_DIR=\"$(localstatedir)/lib/lightdm-data\" \ ++ -DUSERS_DIR=\"$(localstatedir)/lib/lightdm/data\" \ + -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \ + -DRUN_DIR=\"$(localstatedir)/run/lightdm\" \ + -DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \ +--- a/src/shared-data-manager.c ++++ b/src/shared-data-manager.c +@@ -99,7 +99,7 @@ shared_data_manager_ensure_user_dir (Sha + + g_debug ("Creating shared data directory %s", path); + +- result = g_file_make_directory (file, NULL, &error); ++ result = g_file_make_directory_with_parents (file, NULL, &error); + if (error) + { + if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_EXISTS)) |