mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 10:52:17 +03:00
unregister bugfix
This commit is contained in:
parent
28fec709b7
commit
ac1a25cb0d
2 changed files with 3 additions and 1 deletions
|
@ -152,7 +152,7 @@ class Messaging(object):
|
||||||
|
|
||||||
def unregister_msg(self):
|
def unregister_msg(self):
|
||||||
|
|
||||||
user_name = os.getlogin()
|
user_name = self.db_service.select_one_result('session', 'username')
|
||||||
|
|
||||||
self.logger.debug('User : ' + str(user_name))
|
self.logger.debug('User : ' + str(user_name))
|
||||||
|
|
||||||
|
|
|
@ -357,6 +357,8 @@ class Registration:
|
||||||
self.unregister()
|
self.unregister()
|
||||||
self.logger.info('Purge ldap packages')
|
self.logger.info('Purge ldap packages')
|
||||||
Util.execute("sudo apt purge libpam-ldap libnss-ldap ldap-utils -y")
|
Util.execute("sudo apt purge libpam-ldap libnss-ldap ldap-utils -y")
|
||||||
|
#self.logger.info('Purge ahenk packages')
|
||||||
|
#Util.execute("sudo apt purge ahenk ahenk-* -y")
|
||||||
Util.execute("sudo apt autoremove -y")
|
Util.execute("sudo apt autoremove -y")
|
||||||
self.change_configs_after_purge()
|
self.change_configs_after_purge()
|
||||||
self.logger.info('purging successfull')
|
self.logger.info('purging successfull')
|
||||||
|
|
Loading…
Reference in a new issue