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.
pull/45/head mm_0a94e593
Kushal Das 6 years ago
parent 3cc4f5bed3
commit 0a94e59325
No known key found for this signature in database
GPG Key ID: C65FF007C75766ED

@ -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

Loading…
Cancel
Save