From e63cbcdd19535a7bbc3d03d7c6ea5e733dad1fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Mon, 15 Jul 2024 22:43:13 +0800 Subject: [PATCH] Update catwrt_opkg_list_installed --- cattools.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cattools.sh b/cattools.sh index 6320b47..737cc3a 100644 --- a/cattools.sh +++ b/cattools.sh @@ -854,6 +854,13 @@ sysupgrade() { firmware_url=$AMD64_BIOS_SYSUP fi + if [ -f /etc/catwrt_opkg_list_installed ]; then + rm /etc/catwrt_opkg_list_installed + fi + + catwrt_opkg_list_installed + echo "已经生成备份软件包列表,方便你后续更新后恢复部分消失的插件和软件" + echo "" echo "Warning:" echo "========================================================================="