1 diff -aurN gdm-2.14.6.orig/config/Makefile.am gdm-2.14.6/config/Makefile.am
2 --- gdm-2.14.6.orig/config/Makefile.am 2006-05-09 21:47:17.000000000 +0200
3 +++ gdm-2.14.6/config/Makefile.am 2006-05-15 19:20:27.691255168 +0200
5 install-data-hook: gdm.conf gdm.conf-custom Xsession Init PostSession PreSession $(DESKTOP_FILES) $(GDMPREFETCHLIST)
6 if test '!' -d $(DESTDIR)$(confdir); then \
7 $(mkinstalldirs) $(DESTDIR)$(confdir); \
8 - chmod 755 $(DESTDIR)$(confdir); \
10 if test '!' -d $(DESTDIR)$(dmconfdir); then \
11 $(mkinstalldirs) $(DESTDIR)$(dmconfdir); \
12 - chmod 755 $(DESTDIR)$(dmconfdir); \
14 if test '!' -d `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`; then \
15 $(mkinstalldirs) `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`; \
16 - chmod 755 `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`; \
18 if test '!' -d `dirname $(DESTDIR)$(GDM_CUSTOM_CONF)`; then \
19 $(mkinstalldirs) `dirname $(DESTDIR)$(GDM_CUSTOM_CONF)`; \
20 - chmod 755 `dirname $(DESTDIR)$(GDM_CUSTOM_CONF)`; \
22 if test -f $(DESTDIR)$(confdir)/gdm.conf; then \
23 if ! cmp -s $(DESTDIR)$(confdir)/gdm.conf $(DESTDIR)$(confdir)/factory-gdm.conf > /dev/null 2>&1 ; then \
27 $(INSTALL_DATA) gdm.conf $(DESTDIR)$(GDM_DEFAULTS_CONF)
28 - chmod 444 $(DESTDIR)$(GDM_DEFAULTS_CONF)
29 if test '!' -f $(DESTDIR)$(GDM_CUSTOM_CONF); then \
30 $(INSTALL_DATA) $(srcdir)/gdm.conf-custom $(DESTDIR)$(GDM_CUSTOM_CONF); \
31 - chmod 644 $(DESTDIR)$(GDM_CUSTOM_CONF); \
33 $(INSTALL_DATA) gdm.conf `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`/factory-`basename $(DESTDIR)$(GDM_DEFAULTS_CONF)`
37 if test '!' -d $(DESTDIR)$(bisessdir); then \
38 $(mkinstalldirs) $(DESTDIR)$(bisessdir); \
39 - chmod 755 $(DESTDIR)$(bisessdir); \
42 if test '!' -d $(DESTDIR)$(instsessdir); then \
43 $(mkinstalldirs) $(DESTDIR)$(instsessdir); \
44 - chmod 755 $(DESTDIR)$(instsessdir); \
47 -if test -f $(DESTDIR)$(bisessdir)/Default.desktop; then \
49 cp -f $(DESTDIR)$(bisessdir)/default.desktop $(DESTDIR)$(bisessdir)/default.desktop.orig; \
51 $(INSTALL_DATA) default.desktop $(DESTDIR)$(bisessdir)/default.desktop
52 - chmod 644 $(DESTDIR)$(bisessdir)/default.desktop
54 -if test -f $(DESTDIR)$(bisessdir)/gnome.desktop; then \
55 mv -f $(DESTDIR)$(bisessdir)/gnome.desktop $(DESTDIR)$(bisessdir)/gnome.desktop.orig; \
57 cp -f $(DESTDIR)$(instsessdir)/gnome.desktop $(DESTDIR)$(instsessdir)/gnome.desktop.orig; \
59 $(INSTALL_DATA) gnome.desktop $(DESTDIR)$(instsessdir)/gnome.desktop
60 - chmod 644 $(DESTDIR)$(instsessdir)/gnome.desktop
62 -if test -f /usr/dt/bin/Xsession; then \
63 if test -f $(DESTDIR)$(bisessdir)/CDE.desktop; then \
66 if test '!' -d $(DESTDIR)$(initdir); then \
67 $(mkinstalldirs) $(DESTDIR)$(initdir); \
68 - chmod 755 $(DESTDIR)$(initdir); \
70 -if test -f $(DESTDIR)$(initdir)/Default; then \
71 cp -f $(DESTDIR)$(initdir)/Default $(DESTDIR)$(initdir)/Default.orig; \
74 if test '!' -d $(DESTDIR)$(postlogindir); then \
75 $(mkinstalldirs) $(DESTDIR)$(postlogindir); \
76 - chmod 755 $(DESTDIR)$(postlogindir); \
78 $(INSTALL_SCRIPT) $(srcdir)/PostLogin $(DESTDIR)$(postlogindir)/Default.sample
80 if test '!' -d $(DESTDIR)$(predir); then \
81 $(mkinstalldirs) $(DESTDIR)$(predir); \
82 - chmod 755 $(DESTDIR)$(predir); \
84 -if test -f $(DESTDIR)$(predir)/Default; then \
85 cp -f $(DESTDIR)$(predir)/Default $(DESTDIR)$(predir)/Default.orig; \
88 if test '!' -d $(DESTDIR)$(postdir); then \
89 $(mkinstalldirs) $(DESTDIR)$(postdir); \
90 - chmod 755 $(DESTDIR)$(postdir); \
92 -if test -f $(DESTDIR)$(postdir)/Default; then \
93 cp -f $(DESTDIR)$(postdir)/Default $(DESTDIR)$(postdir)/Default.orig; \
96 if test '!' -d $(DESTDIR)$(gnomercdir); then \
97 $(mkinstalldirs) $(DESTDIR)$(gnomercdir); \
98 - chmod 755 $(DESTDIR)$(gnomercdir); \
101 if test '!' -d $(DESTDIR)$(logdir); then \
102 $(mkinstalldirs) $(DESTDIR)$(logdir); \
103 - chmod 755 $(DESTDIR)$(logdir); \
104 - chown root:root $(DESTDIR)$(logdir); \
107 if test '!' -d $(DESTDIR)$(authdir); then \
108 $(mkinstalldirs) $(DESTDIR)$(authdir); \
109 - chmod 1770 $(DESTDIR)$(authdir); \
110 - chown root:gdm $(DESTDIR)$(authdir); \
114 if test -f /usr/include/security/pam_appl.h; then \
115 if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
116 $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
117 - chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
119 if test $$system = Linux && test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm; then \
120 $(INSTALL_DATA) gdm $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm; \
122 cp -f $(DESTDIR)$(instsessdir)/ssh.desktop $(DESTDIR)$(instsessdir)/ssh.desktop.orig; \
124 $(INSTALL_SCRIPT) ssh.desktop $(DESTDIR)$(instsessdir)/ssh.desktop; \
125 - chmod 644 $(DESTDIR)$(instsessdir)/ssh.desktop; \