Skip to content

Commit ec7f92c

Browse files
committed
fix the development flatpak installation during script
1 parent 7ecd187 commit ec7f92c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

system_files/shared/usr/share/ublue-os/just/system.just

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,20 +125,22 @@ dx-group:
125125
[group('System')]
126126
install-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')]

0 commit comments

Comments
 (0)