[s/daath/zbee/g]
This commit is contained in:
parent
a195e82618
commit
88d435f2ad
4 changed files with 9 additions and 9 deletions
|
@ -46,7 +46,7 @@ class del_user:
|
|||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
def delete_daath(self):
|
||||
def delete_zbee(self):
|
||||
cprint(u'Archivage fichiers utilisateur', 'gras')
|
||||
for args in self.args:
|
||||
anim('\t' + args)
|
||||
|
@ -54,7 +54,7 @@ class del_user:
|
|||
login, home = args.split(',')
|
||||
if not login or not home:
|
||||
raise ValueError('Argument invalide')
|
||||
if home.startswith('/home/') and hostname == "daath":
|
||||
if home.startswith('/home/') and hostname == "zbee":
|
||||
home = "/home-adh/" + home[6:]
|
||||
warn = ''
|
||||
f = '%s/files/%s_%s.tar.bz2' % ('/home-adh/cimetiere',
|
||||
|
@ -85,8 +85,8 @@ class del_user:
|
|||
traceback.print_exc()
|
||||
|
||||
def reconfigure(self):
|
||||
if hostname == "daath":
|
||||
self.delete_daath()
|
||||
if hostname == "zbee":
|
||||
self.delete_zbee()
|
||||
elif hostname == "owl":
|
||||
self.delete_directory(u"Suppression des fichiers index de dovecot",
|
||||
"/var/dovecot-indexes/%s")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue