From 472e769077880733441136516ce8f71be35939f1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 8 Oct 2024 20:28:25 +0200 Subject: Remove some old packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- consolekit-git/pam-foreground-compat.ck | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 consolekit-git/pam-foreground-compat.ck (limited to 'consolekit-git/pam-foreground-compat.ck') diff --git a/consolekit-git/pam-foreground-compat.ck b/consolekit-git/pam-foreground-compat.ck deleted file mode 100644 index 7f6b122..0000000 --- a/consolekit-git/pam-foreground-compat.ck +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -TAGDIR=/var/run/console - -[ -n "$CK_SESSION_USER_UID" ] || exit 1 - -TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`" - -if [ "$1" = "session_added" ]; then - mkdir -p "$TAGDIR" - echo "$CK_SESSION_ID" >> "$TAGFILE" -fi - -if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then - sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE" - [ -s "$TAGFILE" ] || rm -f "$TAGFILE" -fi -- cgit v1.2.3-70-g09d2