Fix extension removal on Busybox environments (Alpine)

Former-commit-id: 47909194ae390b1ace732f19da7a5a72592824c8
Former-commit-id: 165ea2af5edfc99d1094a4aeb1a341ac815d3af8
This commit is contained in:
2023-10-25 21:16:17 -04:00
parent e7f0618142
commit 787a2bbfc4
+1 -1
View File
@@ -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"))
else:
# 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"))
else:
_repeat = False