You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
Backup before replacing kb on uninstallation
This commit is contained in:
@@ -14,4 +14,5 @@ if [ -d "$TS" ]; then
|
|||||||
[ -L "$TS/webroot" ] && rm -f "$TS/webroot"
|
[ -L "$TS/webroot" ] && rm -f "$TS/webroot"
|
||||||
[ -L "$TS/action.sh" ] && rm -f "$TS/action.sh"
|
[ -L "$TS/action.sh" ] && rm -f "$TS/action.sh"
|
||||||
fi
|
fi
|
||||||
|
mv -f "$SCRIPT_DIR/keybox.xml" "$SCRIPT_DIR/keybox.xml.bak"
|
||||||
xxd -r -p "$MODPATH/common/.default" | base64 -d > "$SCRIPT_DIR/keybox.xml"
|
xxd -r -p "$MODPATH/common/.default" | base64 -d > "$SCRIPT_DIR/keybox.xml"
|
||||||
|
|||||||
Reference in New Issue
Block a user