Skip to content

Commit

Permalink
fix(install/desktop): only sudo rm if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehsiao committed Dec 2, 2024
1 parent e9dbf25 commit 1e5c8f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install/desktop/set-app-grid.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# App doesn't do anything when started from the app grid
sudo rm -rf /var/lib/flatpak/exports/share/applications/org.flameshot.Flameshot.desktop
if [ -f "/var/lib/flatpak/exports/share/applications/org.flameshot.Flameshot.desktop" ]; then
sudo rm -rf /var/lib/flatpak/exports/share/applications/org.flameshot.Flameshot.desktop
fi

0 comments on commit 1e5c8f8

Please sign in to comment.