Skip to content

Commit

Permalink
feat: add a declarative update command (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo committed Sep 16, 2023
1 parent dc1d4ef commit 3890abe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion usr/share/ublue-os/just/custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,17 @@ touch:
gext install improvedosk@nick-shmyrev.dev
gext install gestureImprovements@gestures

# A preview of what the update system would look like in the future
update-ng:
echo 'Upgrading system...'
sudo bootc upgrade
echo 'Upgrading flatpaks...'
flatpak update -y
echo 'Assembling and replacing distroboxes ...'
distrobox assemble create --replace --file /etc/distrobox/distrobox.ini

# Upgrade Distrobox to the latest git version
update-distrobox-git:
distrobox-git:
echo 'Installing latest git snapshot of Distrobox'
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --next --prefix ~/.local

Expand Down

0 comments on commit 3890abe

Please sign in to comment.