Commit 05cd44de authored by Ray Strode's avatar Ray Strode

Revert "data: removing 'workingdir' dconf manipulations"

This reverts commit d74c93a2.
parent ed7b9505
......@@ -11,6 +11,7 @@ initdir = $(gdmconfdir)/Init
postdir = $(gdmconfdir)/PostSession
predir = $(gdmconfdir)/PreSession
postlogindir = $(gdmconfdir)/PostLogin
workingdir = $(GDM_WORKING_DIR)
xauthdir = $(GDM_XAUTH_DIR)
screenshotdir = $(GDM_SCREENSHOT_DIR)
cachedir = $(localstatedir)/cache/gdm
......@@ -214,6 +215,7 @@ uninstall-hook:
$(DESTDIR)$(sysconfdir)/dconf/db/gdm \
$(DESTDIR)$(sysconfdir)/dconf/profile/gdm \
-rf \
$(DESTDIR)$(workingdir)/.config/dconf \
$(DESTDIR)$(screenshotdir) \
$(DESTDIR)$(xauthdir) \
$(DESTDIR)$(PAM_PREFIX)/pam.d
......@@ -311,6 +313,24 @@ install-data-hook: gdm.conf-custom Xsession Init PostSession PreSession $(system
chown gdm:gdm $(DESTDIR)$(screenshotdir) || : ; \
fi
if test '!' -d $(DESTDIR)$(workingdir); then \
$(mkinstalldirs) $(DESTDIR)$(workingdir); \
chmod 1770 $(DESTDIR)$(workingdir); \
chown root:gdm $(DESTDIR)$(workingdir) || : ; \
fi
if test '!' -d $(DESTDIR)$(workingdir)/.config/dconf; then \
$(mkinstalldirs) $(DESTDIR)$(workingdir)/.config/dconf; \
chmod 0755 $(DESTDIR)$(workingdir)/.config/dconf; \
chown gdm:gdm $(DESTDIR)$(workingdir)/.config/dconf || : ; \
fi
if test '!' -d $(DESTDIR)$(workingdir)/.local/share/applications; then \
$(mkinstalldirs) $(DESTDIR)$(workingdir)/.local/share/applications; \
chmod 0755 $(DESTDIR)$(workingdir)/.local/share/applications; \
chown gdm:gdm $(DESTDIR)$(workingdir)/.local/share/applications || : ; \
fi
if test '!' -d $(DESTDIR)$(cachedir); then \
$(mkinstalldirs) $(DESTDIR)$(cachedir); \
chmod 1755 $(DESTDIR)$(cachedir); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment