chore(ublue-update): Install topgrade as RPM instead using pip
This commit is contained in:
parent
0dfe1bb314
commit
fd4c653d42
1 changed files with 1 additions and 6 deletions
|
|
@ -27,17 +27,12 @@ if [[ -f "$RPM_OSTREE_CONFIG" ]]; then
|
|||
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
|
||||
|
||||
# Fetch ublue COPR
|
||||
REPO="https://copr.fedorainfracloud.org/coprs/ublue-os/staging/repo/fedora-${OS_VERSION}/ublue-os-staging-fedora-${OS_VERSION}.repo"
|
||||
wget "${REPO//[$'\t\r\n ']}" -P "/etc/yum.repos.d/"
|
||||
|
||||
# topgrade is REQUIRED by ublue-update to install
|
||||
pip install --prefix=/usr topgrade
|
||||
rpm-ostree install topgrade
|
||||
rpm-ostree install ublue-update
|
||||
|
||||
# Remove ublue COPR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue