Skip to content

Commit

Permalink
Revert "fix: send notification on flatpak installation (#551)"
Browse files Browse the repository at this point in the history
This reverts commit 49aca95.
  • Loading branch information
bobslept authored Oct 1, 2023
1 parent 49aca95 commit e010f9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions usr/bin/ublue-system-flatpak-manager
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ if grep -qz 'fedora' <<< $(flatpak remotes); then
flatpak remote-delete fedora --force
fi

notify-send "Flatpak installer" "Currently installing system flatpaks" --app-name="Flatpak installer" -u NORMAL

# Lists of flatpaks
FLATPAK_LIST=$(flatpak list --columns=application)
INSTALL_LIST=$(cat /etc/flatpak/system/install)
Expand All @@ -34,8 +32,6 @@ if [[ -n $INSTALL_LIST ]]; then
done
fi

notify-send "Flatpak installer" "Finished installing system flatpaks" --app-name="Flatpak installer" -u NORMAL

# Remove flatpaks in list
if [[ -n $REMOVE_LIST ]]; then
for flatpak in $REMOVE_LIST; do
Expand Down
5 changes: 0 additions & 5 deletions usr/bin/ublue-user-flatpak-manager
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ FLATPAK_LIST=$(flatpak list --columns=application)
INSTALL_LIST=$(cat /etc/flatpak/user/install)
REMOVE_LIST=$(cat /etc/flatpak/user/remove)

notify-send "Flatpak installer" "Currently installing user flatpaks" --app-name="Flatpak installer" -u NORMAL

# Install flatpaks in list
if [[ -n $INSTALL_LIST ]]; then
for flatpak in $INSTALL_LIST; do
Expand All @@ -33,9 +31,6 @@ if [[ -n $INSTALL_LIST ]]; then
done
fi

notify-send "Flatpak installer" "Finished installing user flatpaks" --app-name="Flatpak installer" -u NORMAL


# Remove flatpaks in list
if [[ -n $REMOVE_LIST ]]; then
for flatpak in $REMOVE_LIST; do
Expand Down

0 comments on commit e010f9d

Please sign in to comment.