From 5b501b3433e784f190f0224179944bcf0481600d Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Sat, 4 Jan 2025 10:36:01 +0800 Subject: [PATCH] [Feature] bug fix to #IBFZ2X The authselect command can only be executed after authselect is installed Signed-off-by: Wenlong Zhang --- authselect.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/authselect.spec b/authselect.spec index 06ac486..ef55bdd 100644 --- a/authselect.spec +++ b/authselect.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: authselect Version: 1.4.3 @@ -272,7 +272,9 @@ if test -e /run/ostree-booted; then %endif done fi +exit 0 +%posttrans %{_bindir}/authselect check &> /dev/null if [ $? -eq 6 ]; then NOBACKUP="--nobackup" @@ -291,6 +293,10 @@ fi exit 0 %changelog +* Tue Dec 31 2024 Wenlong Zhang - 1.4.3-3 +- The authselect command can only be executed after authselect is installed. +- fix Permission denied for root when use command passwd + * Fri May 31 2024 yanyihao - 1.4.3-2 - fix: su to a common user in chroot -- Gitee