fix: Install topgrade to /usr (#106)

Install topgrade to /usr since /usr/local doesn't exists when building ublue image
This commit is contained in:
Như Bảo Trương 2024-01-28 13:59:56 +07:00 committed by GitHub
parent 8f13b3d69f
commit cb66d4562a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,5 +27,5 @@ if [[ -f "$RPM_OSTREE_CONFIG" ]]; then
fi
systemctl disable rpm-ostreed-automatic.timer
# topgrade is REQUIRED by ublue-update to install
pip install topgrade
pip install --prefix=/usr topgrade
rpm-ostree install ublue-update