From 6f3d8ac49745495b9cc7cfe78a7a697e6ab29408 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 10 Nov 2016 20:37:04 +0700 Subject: [PATCH] cinnamon-desktop: Added PAM file. Signed-off-by: Willy Sudiarto Raharjo --- cinnamon-desktop/cinnamon-desktop.SlackBuild | 3 +++ cinnamon-desktop/cinnamon-desktop.pam | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 cinnamon-desktop/cinnamon-desktop.pam diff --git a/cinnamon-desktop/cinnamon-desktop.SlackBuild b/cinnamon-desktop/cinnamon-desktop.SlackBuild index 86e8a30..a2d4321 100644 --- a/cinnamon-desktop/cinnamon-desktop.SlackBuild +++ b/cinnamon-desktop/cinnamon-desktop.SlackBuild @@ -98,6 +98,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/etc/pam.d/ +install -m644 $CWD/cinnamon-desktop.pam $PKG/etc/pam.d/cinnamon-desktop + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/cinnamon-desktop/cinnamon-desktop.pam b/cinnamon-desktop/cinnamon-desktop.pam new file mode 100644 index 0000000..9af22e1 --- /dev/null +++ b/cinnamon-desktop/cinnamon-desktop.pam @@ -0,0 +1,2 @@ +#%PAM-1.0 +auth required pam_unix2.so