fix(ublue-update): Install 'python3-pip' if it's not already installed (#108)

This commit is contained in:
Lordus Kordus 2024-01-28 19:15:00 +01:00 committed by GitHub
parent cb66d4562a
commit 122d436f21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,6 +26,12 @@ if [[ -f "$RPM_OSTREE_CONFIG" ]]; then
fi
fi
systemctl disable rpm-ostreed-automatic.timer
# Install python3-pip if it's not already installed
if ! rpm -q python3-pip > /dev/null; then
rpm-ostree install python3-pip
fi
# topgrade is REQUIRED by ublue-update to install
pip install --prefix=/usr topgrade
rpm-ostree install ublue-update