Skip to content

Commit

Permalink
feat: add a flatpak install for rebasers (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Apr 22, 2024
1 parent 9fbbbbc commit ae069c7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions just/bluefin-system.just
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,17 @@ dx-group:
sudo usermod -aG lxd $USER
sudo usermod -aG libvirt $USER
@echo "Logout to use docker, incus-admin, lxd, libvirt"

# Install system flatpaks for rebasers
[private]
install-system-flatpaks:
#!/usr/bin/bash
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
FLATPAKS="bluefin_flatpaks/flatpaks"
elif [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
FLATPAKS="aurora_flatpaks/flatpaks"
fi
FLATPAK_LIST="$(curl https://raw.githubusercontent.com/ublue-os/bluefin/main/${FLATPAKS} | tr '\n' ' ')"
flatpak --system -y install ${FLATPAK_LIST}

0 comments on commit ae069c7

Please sign in to comment.