generated from alice-meta-packages/alice-meta-template
update postinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 8s
Details
Deploy Package / Explore-Gitea-Actions (push) Successful in 8s
Details
This commit is contained in:
parent
a892137448
commit
29d9bec6be
|
@ -5,11 +5,13 @@ set -e
|
|||
. /usr/share/debconf/confmodule
|
||||
|
||||
db_get alice-auth/ldap-bind-password
|
||||
CONFIG=/etc/sssd/sssd.conf
|
||||
# CONFIG=/etc/sssd/sssd.conf
|
||||
|
||||
if [ ! -f "$CONFIG" ]; then
|
||||
echo "Error: Configuration file $CONFIG does not exist."
|
||||
exit 9
|
||||
fi
|
||||
echo $RET
|
||||
|
||||
sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" $CONFIG
|
||||
# if [ ! -f "$CONFIG" ]; then
|
||||
# echo "Error: Configuration file $CONFIG does not exist."
|
||||
# exit 9
|
||||
# fi
|
||||
#
|
||||
# sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" $CONFIG
|
||||
|
|
Loading…
Reference in New Issue