mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 03:32:36 +00:00
chore: Remove old version prior to install
This commit is contained in:
parent
a9e6e67f5f
commit
9496413077
@ -8,6 +8,7 @@ if [[ $(rpm -qa | grep lact) ]]; then
|
||||
if [[ ! $(rpm-ostree status | grep lact | grep $LACT_VERSION) ]]; then
|
||||
# This will check if *any* rpm-ostree pin has the newest version, so we don't update needlessly if a user just needs to reboot or is trying an older pin.
|
||||
echo "Found upstream version v$LACT_VERSION, updating..."
|
||||
rpm-ostree remove $(rpm -qa | grep lact)
|
||||
/usr/bin/ujust install-lact
|
||||
echo "Update complete"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user