This commit is contained in:
喵二
2024-07-24 18:56:01 +08:00
committed by GitHub
parent 48f4daf917
commit e84509a53f

View File

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