Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix syntax error on uninstall script issue #6362 #6956

Merged
merged 1 commit into from Dec 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 3 additions & 5 deletions Installers/MacOS/Scripts/Pipeline/postinstall
Expand Up @@ -31,14 +31,12 @@ then
rm /usr/local/bin/monogame-uninstall
fi
echo "#!/bin/bash

sudo rm -Rf '/Applicatons/Pipeline.app/'
sudo rm -rf '/Applicatons/Pipeline.app/'
sudo pkgutil --forget com.monogame.pipeline
if [ -d '/Applications/Xamarin Studio.app' ]
then
if [ -d '/Applications/Xamarin Studio.app' ];then
/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool setup uninstall MonoDevelop.MonoGame -y
fi
if [ ! -d '/Library/Frameworks/Mono.framework/Versions/4.6.2' ]
if [ ! -d '/Library/Frameworks/Mono.framework/Versions/4.6.2' ];then
ln -s /Library/Frameworks/Mono.framework/Versions/Current /Library/Frameworks/Mono.framework/Versions/4.6.2
fi
sudo rm /usr/local/bin/mgcb
Expand Down