File tree Expand file tree Collapse file tree
system_files/shared/usr/share/ublue-os/just Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,20 +125,22 @@ dx-group:
125125[group('System')]
126126install-system-flatpaks $confirm="1" $dx_only="0" :
127127 # !/usr/bin/env bash
128- if [[ "$(jq '."image-flavor"' /usr/share/ublue-os/image-info.json)" =~ dx ]] ; then
128+ if [[ "${dx_only}" == "1" ]]; then
129+ ADD_DEVMODE =1
130+ elif [[ "$(jq '."image-flavor"' /usr/share/ublue-os/image-info.json)" =~ dx ]] ; then
129131 ADD_DEVMODE ="${ADD_DEVMODE:-1}"
130132 fi
131133 if [ "${ADD_DEVMODE :-0}" == "1" ] ; then
132134 if [ "$confirm" != 0 ] ; then
133135 gum confirm "Install development flatpaks?" || exit 0
134136 fi
135- brew bundle --file="${TARGET_FLATPAK_FILE :-/usr/share/ublue-os/homebrew/system-dx-flatpaks.Brewfile}"
137+ brew bundle --file="${TARGET_DX_BREWFILE :-/usr/share/ublue-os/homebrew/system-dx-flatpaks.Brewfile}"
136138 fi
137139 [ "$dx_only" == 1 ] && exit 0
138140 if [ "$confirm" != 0 ] ; then
139141 gum confirm "Install system flatpaks?" || exit 0
140142 fi
141- brew bundle --file="${TARGET_FLATPAK_FILE :-/usr/share/ublue-os/homebrew/system-flatpaks.Brewfile}"
143+ brew bundle --file="${TARGET_BREWFILE :-/usr/share/ublue-os/homebrew/system-flatpaks.Brewfile}"
142144
143145# Configure grub bootmenu visibility
144146[group('System')]
You can’t perform that action at this time.
0 commit comments