<commit_before>#!/bin/sh

UPDATEVM=`qvm-get-updatevm`

if [ -n "$UPDATEVM" ]; then
    qvm-run -u root --pass_io --localcmd='tar c /var/lib/rpm /etc/yum.repos.d' "$UPDATEVM" 'tar x -C /var/lib/qubes/dom0-updates'
fi

# Ignore errors (eg VM not running)
exit 0
<commit_msg>dom0: use qrexec_client instead of qvm-run to not start guid<commit_after>#!/bin/sh

UPDATEVM=`qvm-get-updatevm`

if [ -n "$UPDATEVM" ]; then
    /usr/lib/qubes/qrexec_client -d "$UPDATEVM" -l 'tar c /var/lib/rpm /etc/yum.repos.d' 'root:tar x -C /var/lib/qubes/dom0-updates'
fi

# Ignore errors (eg VM not running)
exit 0

{'fraction_non_alphanumeric': 0.16835016835016836, 'fraction_numerical': 0.008417508417508417, 'mean_word_length': 3.4402985074626864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5547719', 'n_tokens_mistral': 264, 'n_tokens_neox': 251, 'n_words': 64}