Use 'ostree remote add' instead of the incorrect 'rpm-ostree install' for repos

This commit is contained in:
badblocks 2024-11-13 15:59:10 -08:00
parent f75417dc71
commit 01259cef7b
No known key found for this signature in database

View file

@ -6,9 +6,10 @@ set +u
RELEASE="$(rpm -E %fedora)" RELEASE="$(rpm -E %fedora)"
### Add repos ### Add repos
rpm-ostree install https://download.docker.com/linux/fedora/docker-ce.repo ostree remote add docker-ce https://download.docker.com/linux/fedora/docker-ce.repo
### Refresh repos ### Refresh repos
rpm-ostree cleanup -m
rpm-ostree refresh-md rpm-ostree refresh-md
### Install packages ### Install packages