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.
This commit is contained in:
parent
3cc4f5bed3
commit
0a94e59325
@ -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…
Reference in New Issue
Block a user