feat(steamos-update): Use service to run rootful updates

This commit is contained in:
RJ Trujillo 2023-09-14 19:50:48 -06:00
parent 8c846eb203
commit 4657994f94

View File

@ -61,7 +61,7 @@ if command -v ublue-update > /dev/null; then
}
upgrade() {
# Pull exit code from ublue-update
ublue-update --force > /dev/null 2>&1
systemctl start ublue-update-force > /dev/null 2>&1
echo $? > /tmp/upgrade-check
}
upgrade | fake_progress