From 194ec853e8f20fd32d5a91eec74ff77383093f4e Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Thu, 6 Feb 2020 01:59:35 +0000 Subject: Thu Feb 6 01:59:35 UTC 2020 a/hwdata-0.332-noarch-1.txz: Upgraded. a/kernel-firmware-20200204_b791e15-noarch-1.txz: Upgraded. a/kernel-generic-5.4.18-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.18-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.18-x86_64-1.txz: Upgraded. d/cmake-3.16.4-x86_64-1.txz: Upgraded. d/icecream-1.3.1-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.18-x86-1.txz: Upgraded. k/kernel-source-5.4.18-noarch-1.txz: Upgraded. xap/xlockmore-5.62-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt. --- source/kde/post-install/kde-workspace.post-install | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/kde/post-install/kde-workspace.post-install') diff --git a/source/kde/post-install/kde-workspace.post-install b/source/kde/post-install/kde-workspace.post-install index 5cbabf507..f6e0c236d 100644 --- a/source/kde/post-install/kde-workspace.post-install +++ b/source/kde/post-install/kde-workspace.post-install @@ -39,6 +39,15 @@ cat $CWD/post-install/kde-workspace/config/Xsession | sed -e "s#/lib#/lib${LIBDI # Add a .new suffix so we don't mangle an existing file: mv $PKG/usr/share/config/kdm/backgroundrc $PKG/usr/share/config/kdm/backgroundrc.new +# Add config file if PAM is installed: +if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then + mkdir -p $PKG/etc/pam.d + cp -a $CWD/post-install/kde-workspace/config/kde.pamd $PKG/etc/pam.d/kde.new + chown root:root $PKG/etc/pam.d/kde.new + chmod 644 $PKG/etc/pam.d/kde.new + echo "config etc/pam.d/kde.new" >> $PKG/install/doinst.sh +fi + # Move the KDM files someplace FHS compliant: mkdir -p $PKG/etc/kde mv $PKG/usr/share/config/kdm $PKG/etc/kde -- cgit v1.2.3