mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-01 14:47:17 -04:00
Added port-job for disabling extension management; applied to Haiku and Termux packages
Former-commit-id: eb66222b45b41fbd92712dacd23ed825ba377982 Former-commit-id: 0544589759a4e41c005aae8a6b00fcdff58f72d9
This commit is contained in:
@@ -354,6 +354,7 @@ def whitelist_menu():
|
||||
# PORT END WHITELIST-SERVER
|
||||
|
||||
|
||||
# PORT START TWEAK-EXTEND-FUNCTIONS
|
||||
# downloads/updates extensions
|
||||
def extension_downloader():
|
||||
from os import chmod
|
||||
@@ -424,6 +425,7 @@ def extension_menu():
|
||||
else:
|
||||
break
|
||||
return _ext_name, _escalator, _action
|
||||
# PORT END TWEAK-EXTEND-FUNCTIONS
|
||||
|
||||
|
||||
# runs secondary configuration menu
|
||||
@@ -508,10 +510,12 @@ def global_menu(_scr, _device_type, _top_message):
|
||||
elif _success == 2:
|
||||
curses_radio(['okay'], '\u001b[38;5;9merror: re-encryption failed: entry directory not found\u001b[0m')
|
||||
elif _choice == 7:
|
||||
# PORT START TWEAK-EXTEND-OPTION
|
||||
_ext_name, _escalator, _action = extension_menu()
|
||||
# if root is needed for extension management...
|
||||
if _ext_name:
|
||||
return _ext_name, _escalator, _action
|
||||
# PORT END TWEAK-EXTEND-OPTION
|
||||
else:
|
||||
_exit_signal = True
|
||||
if _exit_signal:
|
||||
|
||||
Reference in New Issue
Block a user