mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-23 06:22:18 +03:00
pam script problem fixed
This commit is contained in:
parent
a124e0919f
commit
18c65ca87b
2 changed files with 7 additions and 1 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -17,7 +17,7 @@ while true; do
|
|||
then
|
||||
if [ -f /etc/pam.d/common-session ]
|
||||
then
|
||||
|
||||
cp /etc/pam.d/common-session /etc/pam.d/common-session.orig
|
||||
sed -i '/pam_script.so/d' /etc/pam.d/common-session
|
||||
echo "session required pam_script.so" >> /etc/pam.d/common-session
|
||||
fi
|
||||
|
|
6
debian/postrm
vendored
Normal file
6
debian/postrm
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
# postrm script for ahenk
|
||||
#
|
||||
|
||||
cp /etc/pam.d/common-session /etc/pam.d/common-session.before_remove_ahenk
|
||||
cp /etc/pam.d/common-session.orig /etc/pam.d/common-session
|
Loading…
Reference in a new issue