OSDN Git Service

Fixed the same thing again.
[portsreinstall/current.git] / lib / libreinstall.sh
index 83c4498..3b8643f 100644 (file)
@@ -834,6 +834,15 @@ reinstall_chk_missing_requirement ()
                } > "$REINSTALL_DBNODE_DIR/error.log"
                reinstall_restore_conflicts "$REINSTALL_ORIGIN"
                reinstall_restore_if_temporarily_deinstalled
+               for tag in all run build none
+               do
+                       for level in full direct
+                       do
+                               fileedit_add_a_line_if_new "$REINSTALL_ORIGIN" \
+                                       "${DBDIR}/todo_after_requirements_succeed.${tag}.${level}.list"
+                       done
+               done
+               fileedit_rm_a_line "$REINSTALL_ORIGIN" "${DBDIR}/failed.list"
                reinstall_skip 'Skipped because of missing/too old packages'
                return 1
        fi