Updated mate-screensaver SlackBuild to work with PAM

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2013-04-01 23:44:08 +07:00
parent d4ade4d28d
commit b3ed10f51b
2 changed files with 5 additions and 0 deletions

View file

@ -116,6 +116,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/etc/pam.d/
install -m644 $CWD/mate-screensaver.pam $PKG/etc/pam.d/mate-screensaver
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/doinst.sh > $PKG/install/doinst.sh

View file

@ -0,0 +1,2 @@
#%PAM-1.0
auth required pam_unix_auth.so