File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,13 @@ export IFS=$'\n'
3636
3737# NOTE macOS ignores AU plugins installed in ~/Library/Audio/Plug-Ins/Components/
3838# we **MUST** install AU plugins system-wide, so we need sudo/root here
39- # for p in $(find . -maxdepth 1 -name '*.component' -print -quit | grep '.component'); do
40- # basename=$(basename ${p})
41- # if [ ! -L /Library/Audio/Plug-Ins/Components/"${basename}" ]; then
42- # sudo ln -s $(pwd)/"${basename}" /Library/Audio/Plug-Ins/Components/"${basename}"
43- # fi
44- # done
39+ # they cannot be symlinks either, so we do a full copy
40+ for p in $( find . -maxdepth 1 -name ' *.component' -print | grep ' .component' ) ; do
41+ basename=$( basename ${p} )
42+ if [ ! -L /Library/Audio/Plug-Ins/Components/" ${basename} " ]; then
43+ sudo cp -r $( pwd) /" ${basename} " /Library/Audio/Plug-Ins/Components/
44+ fi
45+ done
4546
4647for p in $( find . -maxdepth 1 -name ' *.clap' -print) ; do
4748 basename=$( basename ${p} )
You can’t perform that action at this time.
0 commit comments