OSDN Git Service

[NEW] show inst_by_pkg commands are added.
[portsreinstall/current.git] / lib / libdatabase_query.sh
index 6d30282..b6ce643 100644 (file)
@@ -581,7 +581,7 @@ database_query_show_single_list_exec ()
        dbsuffix=$deptag.$level
        flag_filter_skip_unchanged=
        flag_filter_only_target=
-       pkgnamedb='requires obsolete initial'
+       pkgnamedb='moved_from obsolete initial'
        case $subject in
        todo )
                message_echo "The following ports remain in the (re)installation queue for the current do/redo process:"
@@ -614,6 +614,11 @@ database_query_show_single_list_exec ()
                message_echo
                list=manually_done.list
                ;;
+       inst_by_pkg )
+               message_echo "The following ports are configured default and installed by prebuilt packages"
+               message_echo
+               list=installation_complete_by_pkg.list
+               ;;
        failure )
                message_echo "The following ports experienced failures and kept to be old or uninstalled:"
                message_echo
@@ -716,6 +721,9 @@ database_query_exists_in_list ()
        resolved )
                list=manually_done.list
                ;;
+       inst_by_pkg )
+               list=installation_complete_by_pkg.list
+               ;;
        failure )
                list=failed.list
                ;;