From 787a2bbfc430d8e59353793e88d9f4cfb1c517b0 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Wed, 25 Oct 2023 21:16:17 -0400 Subject: [PATCH] Fix extension removal on Busybox environments (Alpine) Former-commit-id: 47909194ae390b1ace732f19da7a5a72592824c8 Former-commit-id: 165ea2af5edfc99d1094a4aeb1a341ac815d3af8 --- lib/stweak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stweak.py b/lib/stweak.py index e49e40f..fddc059 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -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