summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-tdebase/trinity-tdebase.install
diff options
context:
space:
mode:
authorMichael J. Manley <[email protected]>2021-09-29 19:43:06 -0700
committerMichael J. Manley <[email protected]>2021-09-30 13:05:47 -0700
commit1449cb652508e9448aa82f0a752912f200c073f8 (patch)
treee4076bacd0939c8a7c6df0c4cebb68040ece0c39 /arch/tde-core/tde-tdebase/trinity-tdebase.install
parentc09e617f527862aa42eb805b990b96a28f05032b (diff)
downloadtde-packaging-1449cb652508e9448aa82f0a752912f200c073f8.tar.gz
tde-packaging-1449cb652508e9448aa82f0a752912f200c073f8.zip
ArchLinux: Fixed tdebase to create correct PAM files. This resolves issue TDE/tdebase#225
Signed-off-by: Michael J. Manley <[email protected]>
Diffstat (limited to 'arch/tde-core/tde-tdebase/trinity-tdebase.install')
-rw-r--r--arch/tde-core/tde-tdebase/trinity-tdebase.install14
1 files changed, 5 insertions, 9 deletions
diff --git a/arch/tde-core/tde-tdebase/trinity-tdebase.install b/arch/tde-core/tde-tdebase/trinity-tdebase.install
index 8bdaa12ef..b2ba604ef 100644
--- a/arch/tde-core/tde-tdebase/trinity-tdebase.install
+++ b/arch/tde-core/tde-tdebase/trinity-tdebase.install
@@ -1,13 +1,9 @@
post_install() {
ldconfig &> /dev/null
- [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
- [ -x "${TDEDIR}/bin/mkpamserv" ] && "${TDEDIR}/bin/mkpamserv" trinity || \
- echo "Warning: unable to run mkpamserv trinity, you will need to manually confirure pam"
- echo "Please remember that you can change your kdesu backend from su to sudo"
- echo "by adding following lines to your ~/.tde/share/kdesurc or to the"
- echo "$TDEDIR/share/config/kdesurc:"
- echo "[super-user-command]"
- echo "super-user-command=sudo"
+ [ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
+ $TDEDIR/bin/mkpamserv tde
+ $TDEDIR/bin/mkpamserv tde-screensaver
+ $TDEDIR/bin/mkpamserv tde-checkpass
}
post_upgrade() {
@@ -16,6 +12,6 @@ post_upgrade() {
post_remove() {
ldconfig &> /dev/null
- rm /etc/pam.d/trinity
+ rm /etc/pam.d/{tde,tde-screensaver,tde-checkpass}
}