Better UX

This commit is contained in:
Spitap
2022-07-27 16:32:59 +02:00
parent 70faa1c5cb
commit e546d2cb23
3 changed files with 3 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ class Postwhite(base.Installer):
POSTWHITE_REPOSITORY, install_dir)
postwhiteBackupConf = self.restore+"custom/postwhite.conf"
if self.restore and os.path.isfile(postwhiteBackupConf):
utils.printcolor("Restoring postwhite.conf backup.", utils.MAGENTA)
utils.printcolor("Restoring postwhite.conf backup.", utils.GREEN)
utils.copy_file(postwhiteBackupConf, "/etc")
else:
utils.copy_file(os.path.join(postw_dir, "postwhite.conf"), "/etc")