-
Notifications
You must be signed in to change notification settings - Fork 404
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
Linux uninstall script does not remove Headless/VST3 #1140
Comments
Line 252 of build-linux.sh I must be missing something. I can't spot the bug. Can you? |
it's not removing VST3 either it removes the LV2 folder and contents the LV2 has this line |
Oh it’s doing rm -vf not rm -rvf in the uninstall routine it looks like |
for headless there is the extra Surge folder between the Surge-Headless folder and the executable Surge-Headless ~/bin/Surge-Headless/Surge/Surge-Headless where Surge-Headless is the executable |
Note: I didn't remove recursively when I wrote LV2. For example a |
bear in mind that if the install is not local it requires sudo and in this case I would have to agree with @jpcima |
OK! I’m happy for you guys to change it to what you think is safest to be honest! No strong opinions here but agree with the quoting point. (Although I think the script quotes the names but I’m not sure (since I really only use build-OS X with any regularity :) ) ) |
this modification for line 242 to remove the VST3
and line 252 to remove headless
verified it also works for the local installation |
OK we can get this pushed into 1.6.2. One of us will be making another change in the next few days I’m sure and we can just sweep this into our PRs. Thanks! |
Applying this quickly now. Will close issue once it's in. |
Cleanup to the uninstall branch to remove the Headless and VST3 correctly now they are in subdirs and are bundles and stuff. Thanks to @tank-trax for the diffs Closes surge-synthesizer#1140
Cleanup to the uninstall branch to remove the Headless and VST3 correctly now they are in subdirs and are bundles and stuff. Thanks to @tank-trax for the diffs Closes #1140
building from source and installing locally using
./build-linux.sh -l install
places the contents in the following folders
VST2 =
~/.vst/
VST3 =
~/.vst3/Surge.vst3/Contents/x86_64-linux/
LV2 =
~/.lv2/Surge.lv2/
Headless =
~/bin/Surge-Headless/Surge/
Data =
~/.local/share/Surge/
running
./build-linux.sh -l uninstall
removes everything except the Headless returning this error
rm: cannot remove '/home/studio/bin/Surge-Headless': Is a directory
The text was updated successfully, but these errors were encountered: