mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtsession: don't change perms of dtsession if HAS_PAM_LIBRARY
This commit is contained in:
parent
c3c7d8303b
commit
bbba562a22
1 changed files with 1 additions and 3 deletions
|
@ -131,9 +131,7 @@ sys.session.ive: sys.session.src
|
||||||
# systems without a PAM library need dtsession to be SUID root
|
# systems without a PAM library need dtsession to be SUID root
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
if HAS_PAM_LIBRARY
|
if !HAS_PAM_LIBRARY
|
||||||
chmod 755 $(DESTDIR)$(bindir)/dtsession
|
|
||||||
else
|
|
||||||
chown root $(DESTDIR)$(bindir)/dtsession
|
chown root $(DESTDIR)$(bindir)/dtsession
|
||||||
chmod 4755 $(DESTDIR)$(bindir)/dtsession
|
chmod 4755 $(DESTDIR)$(bindir)/dtsession
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue