system/vlock: Remove template comment.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-08-09 18:02:53 -04:00 committed by Willy Sudiarto Raharjo
parent 8f3702bc5b
commit 2b2f6ed58e
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 17 deletions

View File

@ -1,16 +1,17 @@
vlock is a program to lock one or more sessions on the Linux console.
This is especially useful for Linux machines which have multiple users with
access to the console. One user may lock his or her session(s) while still
allowing other users to use the system on other virtual consoles.
This is especially useful for Linux machines which have multiple users
with access to the console. One user may lock his or her session(s)
while still allowing other users to use the system on other virtual
consoles.
If desired, the entire console may be locked and virtual console switching
disabled.
If desired, the entire console may be locked and virtual console
switching disabled.
There's also a screensaver, based on libcaca.
vlock has two particular options that this SlackBuild reserves to the wheel
group:
vlock has two particular options that this SlackBuild reserves to the
wheel group:
-n,--new
@ -24,7 +25,7 @@ and
kernels) while consoles are locked. This option only works if
the -a, --all option given.
If you would like to set an alternative group, you may pass the VLOCK_GROUP
variable to the SlackBuild like this:
If you would like to set an alternative group, you may pass the
VLOCK_GROUP variable to the SlackBuild like this:
VLOCK_GROUP=users ./vlock.SlackBuild

View File

@ -54,9 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -91,11 +88,8 @@ rm -rf $PRGNAM-$PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# recent libcaca in -current no longer has the compatibility symlink
# cucul.h => caca.h, so: