mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-09 20:02:20 +03:00
bug fixed
This commit is contained in:
parent
9fc5fa1568
commit
eeadbc0097
1 changed files with 8 additions and 10 deletions
18
debian/ahenk.postinst
vendored
18
debian/ahenk.postinst
vendored
|
@ -14,6 +14,14 @@ fi
|
|||
|
||||
# update pardus21 sssd conf changes when update pardus from 24 to 25
|
||||
if [ -d /etc/ahenk ]; then
|
||||
if [ -f /etc/default/sssd ]; then
|
||||
if ! grep -Fxq 'LC_ALL="tr_CY.UTF-8"' /etc/default/sssd
|
||||
then
|
||||
echo 'LC_ALL="tr_CY.UTF-8"' >> /etc/default/sssd
|
||||
systemctl restart sssd.service
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f /etc/ahenk/ad_info ]; then
|
||||
if [ -f /etc/sssd/sssd.conf ]; then
|
||||
sed -i 's/ad_domain/ad_server/g' /etc/sssd/sssd.conf
|
||||
|
@ -22,15 +30,5 @@ if [ -d /etc/ahenk ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ -d /etc/sssd ]; then
|
||||
if grep -Fxq 'LC_ALL="tr_CY.UTF-8"' /etc/default/sssd
|
||||
then
|
||||
:
|
||||
else
|
||||
echo """LC_ALL=\"tr_CY.UTF-8\"""" >> /etc/default/sssd
|
||||
systemctl restart sssd.service
|
||||
fi
|
||||
fi
|
||||
|
||||
systemctl enable ahenk
|
||||
systemctl start ahenk
|
||||
|
|
Loading…
Reference in a new issue