diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index e49c3e2..dbce779 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -22,11 +22,13 @@ if [ "$1" = "--help" ]; then exit fi +# Prevent template upgrade - this would override user changes +TEMPLATE_EXCLUDE_OPTS="--exclude=`rpm -qa --qf '%{NAME},' qubes-template-\*`" PKGS= -YUM_OPTS= +YUM_OPTS="$TEMPLATE_EXCLUDE_OPTS" GUI= CHECK_ONLY= -ALL_OPTS=$* +ALL_OPTS="$TEMPLATE_EXCLUDE_OPTS $*" YUM_ACTION= QVMRUN_OPTS= CLEAN=