Fixed and re-enabled TWEAK-DEVTYPE port-job

Former-commit-id: 15038a5b6446b1356d6e45fd17111412bcd2072f
Former-commit-id: 9b6a5624f009d9b158b3ee722c2cd220582e8374
This commit is contained in:
2023-06-12 13:57:23 -04:00
parent 43061b4fa0
commit da03e1e5f9
2 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -83,6 +83,7 @@ def install_type():
# PORT START TWEAK-DEVTYPE
_install_type = curses_radio(('client (ssh-synchronized)', 'client (offline)', 'server'),
'device + sync type configuration')
# PORT END TWEAK-DEVTYPE
if _install_type == 2:
_dev_type = 'server'
Path(f"{home}/.config/sshyp/deleted").mkdir(mode=0o700, exist_ok=True)
@@ -99,7 +100,6 @@ def install_type():
sshyp_data.add_section('GENERAL')
sshyp_data.set('GENERAL', 'device_type', _dev_type)
write_config()
# PORT END TWEAK-DEVTYPE
return _dev_type, _offline_mode