Skip to content

Commit

Permalink
Headless and VST3 Uninstall properly (#1154)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
baconpaul authored Sep 10, 2019
1 parent 80596ee commit ef46dd0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ run_uninstall()
fi

if [ ! -z "$option_vst3" ]; then
rm -vf $vst3_dest_path/$dest_plugin_name
rm -vf $vst3_dest_path/Surge.vst3/Contents/x86_64-linux/$dest_plugin_name
rmdir -v $vst3_dest_path/Surge.vst3/Contents/x86_64-linux $vst3_dest_path/Surge.vst3/Contents $vst3_dest_path/Surge.vst3
fi

if [ ! -z "$option_lv2" ]; then
Expand All @@ -249,7 +250,8 @@ run_uninstall()
fi

if [ ! -z "$option_headless" ]; then
rm -vf $headless_dest_path/$dest_headless_name
rm -vf $headless_dest_path/$dest_headless_name/Surge/$dest_headless_name
rmdir -v $headless_dest_path/$dest_headless_name/Surge $headless_dest_path/$dest_headless_name
fi
}

Expand Down

0 comments on commit ef46dd0

Please sign in to comment.