This commit is contained in:
喵二
2024-07-24 20:16:33 +08:00
committed by GitHub
parent e84509a53f
commit 112965c0ec

View File

@@ -1080,10 +1080,10 @@ catwrt_opkg_list_installed() {
fi fi
done done
if grep -Fxq "/etc/catwrt_opkg_list_installed" "/etc/sysupgrade.conf"; then if ! grep -Fxq "/etc/catwrt_opkg_list_installed" "/etc/sysupgrade.conf"; then
else echo "/etc/catwrt_opkg_list_installed" >> "/etc/sysupgrade.conf"
echo "$config_file" >> "$sysupgrade_conf"
fi fi
echo "备份完成,现在升级也不怕啦~" echo "备份完成,现在升级也不怕啦~"
} }