diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2015-03-31 18:56:04 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2015-03-31 18:56:04 +0300 |
commit | 62acbd3bbd9817a70aa5a7dcfc274f083d5dd2bd (patch) | |
tree | 34fe0b907ea7df8f3c7294317cce93a27cc6446a /debian/patches/06_change-user-dirs.patch | |
download | lightdm-debian.tar.gz |
lightdm 1.10.3-3debian/1.10.3-3debian
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)) |