mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-17 06:11:35 +01:00
Updated alignment
This commit is contained in:
parent
7817367266
commit
11d9e81e57
1 changed files with 8 additions and 8 deletions
|
@ -34,24 +34,24 @@ class NewConfig(Configs):
|
|||
print('There are NEW files:\n')
|
||||
|
||||
if self.slpkg_config_new.is_file():
|
||||
print(f" {self.bgreen}{self.slpkg_config_new}{self.endc}")
|
||||
print(f"{self.bgreen:>12}{self.slpkg_config_new}{self.endc}")
|
||||
|
||||
if self.blacklist_config_new.is_file():
|
||||
print(f" {self.bgreen}{self.blacklist_config_new}{self.endc}")
|
||||
print(f"{self.bgreen:>12}{self.blacklist_config_new}{self.endc}")
|
||||
|
||||
print(f'\nWhat would you like to do ({self.byellow}K{self.endc}/{self.byellow}O{self.endc}/'
|
||||
f'{self.byellow}R{self.endc}/{self.byellow}P{self.endc})?\n')
|
||||
|
||||
print(f" ({self.byellow}K{self.endc})eep the old files and consider '.new' files later.\n"
|
||||
f" ({self.byellow}O{self.endc})verwrite all old files with the new ones.\n"
|
||||
f" The old files will be stored with the suffix '.orig'.\n"
|
||||
f" ({self.byellow}R{self.endc})emove all '.new' files.\n"
|
||||
f" ({self.byellow}P{self.endc})rompt K, O, R, D selection for every single file.\n")
|
||||
print(f"{'':>2}({self.byellow}K{self.endc})eep the old files and consider '.new' files later.\n"
|
||||
f"{'':>2}({self.byellow}O{self.endc})verwrite all old files with the new ones.\n"
|
||||
f"{'':>5}The old files will be stored with the suffix '.orig'.\n"
|
||||
f"{'':>2}({self.byellow}R{self.endc})emove all '.new' files.\n"
|
||||
f"{'':>2}({self.byellow}P{self.endc})rompt K, O, R, D selection for every single file.\n")
|
||||
|
||||
self.menu()
|
||||
|
||||
elif not self.slpkg_config_new.is_file() and not self.blacklist_config_new.is_file():
|
||||
print("\n No '.new' files found.\n")
|
||||
print(f"\n{'No .new files found.':>23}\n")
|
||||
|
||||
def menu(self):
|
||||
""" Menu of choices. """
|
||||
|
|
Loading…
Reference in a new issue