summaryrefslogtreecommitdiffstats
path: root/desktop/gdm/gdm.SlackBuild
diff options
context:
space:
mode:
author Bob Funk2022-11-18 07:12:12 +0100
committer Willy Sudiarto Raharjo2022-11-19 04:08:11 +0100
commit8e22868acfb29c9079d8ccf789bdf7043a7f11c2 (patch)
treef1406c29f5672e97bfdc3b7c5ac16d43eb01e0cb /desktop/gdm/gdm.SlackBuild
parent0209d3c309087083a4f95159eda0be1f9dbdfe40 (diff)
downloadslackbuilds-8e22868acfb29c9079d8ccf789bdf7043a7f11c2.tar.gz
desktop/gdm: Add wrapper script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gdm/gdm.SlackBuild')
-rw-r--r--desktop/gdm/gdm.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/gdm/gdm.SlackBuild b/desktop/gdm/gdm.SlackBuild
index aa5221034a..bb955aeea1 100644
--- a/desktop/gdm/gdm.SlackBuild
+++ b/desktop/gdm/gdm.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gdm
VERSION=${VERSION:-42.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -120,6 +120,13 @@ cat $CWD/gdm-password.pam > $PKG/etc/pam.d/gdm-password
cat $CWD/gdm-launch-environment.pam > $PKG/etc/pam.d/gdm-launch-environment
cat $CWD/wayland-session > $PKG/etc/gdm/wayland-session
+# Install GDM wrapper script:
+mv $PKG/usr/sbin/{gdm,gdm-bin}
+cat $CWD/gdm.wrap > $PKG/usr/sbin/gdm
+
+# Handle /etc/gdm/custom.conf a little nicer:
+mv $PKG/etc/gdm/{custom.conf,custom.conf.new}
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING HACKING MAINTAINERS NEWS README.md \