macos-setup: fix uninstalling sparkle

This commit is contained in:
Michael Tuexen 2023-09-30 10:41:47 +02:00
parent 5cc394fa96
commit 3f3ef7f463

View file

@ -2641,6 +2641,9 @@ uninstall_sparkle() {
if [ -n "$installed_sparkle_version" ]; then
echo "Uninstalling Sparkle:"
sudo rm -rf "/usr/local/Sparkle-$installed_sparkle_version"
rm sparkle-$installed_sparkle_version-done
if [ "$#" -eq 1 ] && [ "$1" = "-r" ] ; then
rm -f "Sparkle-$installed_sparkle_version.tar.xz"
fi