mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -04:00
Fix extension removal on Busybox environments (Alpine)
Former-commit-id: 47909194ae390b1ace732f19da7a5a72592824c8 Former-commit-id: 165ea2af5edfc99d1094a4aeb1a341ac815d3af8
This commit is contained in:
+1
-1
@@ -610,7 +610,7 @@ def wrapped_entry(_gm_device_type, _gm_top_message='configuration options:'):
|
|||||||
run((_escalator, 'mv', _ini_dir, f"/usr/lib/sshyp/extensions/{_ext_name}.ini"))
|
run((_escalator, 'mv', _ini_dir, f"/usr/lib/sshyp/extensions/{_ext_name}.ini"))
|
||||||
else:
|
else:
|
||||||
# uninstall with privilege escalation (outside of curses)
|
# uninstall with privilege escalation (outside of curses)
|
||||||
run((_escalator, 'rm', '-I', f"/usr/lib/sshyp/{_ext_name}",
|
run((_escalator, 'rm', f"/usr/lib/sshyp/{_ext_name}",
|
||||||
f"/usr/lib/sshyp/extensions/{_ext_name}.ini"))
|
f"/usr/lib/sshyp/extensions/{_ext_name}.ini"))
|
||||||
else:
|
else:
|
||||||
_repeat = False
|
_repeat = False
|
||||||
|
|||||||
Reference in New Issue
Block a user