From 0a94e593257ca69503d7cb7854ed756dcad6bb94 Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Tue, 30 Oct 2018 08:06:15 +0530 Subject: [PATCH] Adds info & search actions for template packages Now we can do --action=info or --action=search for a template. This will not shutdown the template and simply execute search or info command for dnf. --- dom0-updates/qubes-dom0-update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index f5c1e70..b464dd9 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -95,6 +95,8 @@ if [ "$YUM_ACTION" == "reinstall" ] || [ "$YUM_ACTION" == "upgrade" ] || [ "$YUM echo "ERROR: Specify only one package to reinstall template" exit 1 fi +elif [ "$YUM_ACTION" == "search" ] || [ "$YUM_ACTION" == "info" ]; then # No need to shutdown for search/info + TEMPLATE_EXCLUDE_OPTS="" else TEMPLATE_EXCLUDE_OPTS="--exclude=`rpm -qa --qf '%{NAME},' qubes-template-\*`" fi