feat(default-flatpaks): Send notification after successful flatpak setup

This commit is contained in:
zelikos 2023-10-14 13:04:47 -04:00
parent 8bc41e6077
commit 11dd657557
No known key found for this signature in database
GPG key ID: AA0CB476ECFA09E7
2 changed files with 4 additions and 0 deletions

View file

@ -70,6 +70,8 @@ if [[ -n $REMOVE_LIST ]]; then
flatpak remove --system --noninteractive ${REMOVE_LIST[@]}
fi
notify-send "Flatpak Installer" "Finished installing system flatpaks" --app-name="Flatpak Installer" -u NORMAL
# Prevent future executions
echo "Writing state file"
mkdir -p /etc/ublue-os

View file

@ -52,6 +52,8 @@ if [[ -n $REMOVE_LIST ]]; then
flatpak remove --user --noninteractive $flatpak ${REMOVE_LIST[@]}
fi
notify-send "Flatpak Installer" "Finished installing user flatpaks" --app-name="Flatpak Installer" -u NORMAL
# Prevent future executions
echo "Writing state file"
mkdir -p $HOME/.config/ublue-os/