Skip to content

Commit

Permalink
fix: Justfile to avoid collision with fedora flatpaks (#189)
Browse files Browse the repository at this point in the history
This very small added flag ensures we don't collide with fedora flatpaks that might be installed by a user and just reinstalls them from scratch from flathub.
  • Loading branch information
NiHaiden authored Feb 6, 2025
1 parent 56195c1 commit 8fbdca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion just/aurora-system.just
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ install-system-flatpaks CURR_LIST_FILE="":
# convert arrays to sorted newline-separated strings to compare lists and get new flatpaks
NEW_FLATPAKS=($(comm -23 <(printf "%s\n" "${FLATPAK_LIST[@]}" | sort) <(printf "%s\n" "${CURRENT_FLATPAK_LIST[@]}" | sort)))
if [[ ${#NEW_FLATPAKS[@]} -gt 0 ]]; then
flatpak --system -y install --or-update "${NEW_FLATPAKS[@]}"
flatpak --system -y install --reinstall --or-update "${NEW_FLATPAKS[@]}"
printf "%s\n" "${FLATPAK_LIST[@]}" > "${CURR_LIST_FILE}"
notify-send "Welcome to Aurora" "New flatpak apps have been installed!" --app-name="Flatpak Manager Service" -u NORMAL
fi
Expand Down

0 comments on commit 8fbdca3

Please sign in to comment.