updated linux install.sh to install CLAP plugin in ~/.clap/
This commit is contained in:
parent
2750006b6a
commit
1c0ace8a12
@ -31,6 +31,23 @@ if [ -d ${BUILDDIR}/VST3/PaulXStretch.vst3 ] ; then
|
||||
echo "PaulXStretch VST3 plugin installed"
|
||||
fi
|
||||
|
||||
if [ -f ${BUILDDIR}/CLAP/PaulXStretch.clap ] ; then
|
||||
#mkdir -p ${PREFIX}/lib/clap
|
||||
if [ x"$SUDO_USER" != x ] ; then
|
||||
CLAPDIR=`eval echo ~$SUDO_USER/.clap`
|
||||
mkdir -p $CLAPDIR
|
||||
chown $SUDO_USER:$SUDO_GROUP $CLAPDIR
|
||||
cp -f ${BUILDDIR}/CLAP/PaulXStretch.clap $CLAPDIR/
|
||||
chown $SUDO_USER:$SUDO_GROUP $CLAPDIR/PaulXStretch.clap
|
||||
else
|
||||
CLAPDIR=$HOME/.clap
|
||||
mkdir -p $CLAPDIR
|
||||
cp -a ${BUILDDIR}/CLAP/PaulXStretch.clap $CLAPDIR/
|
||||
fi
|
||||
|
||||
echo "PaulXStretch CLAP plugin installed in $CLAPDIR"
|
||||
fi
|
||||
|
||||
|
||||
echo "PaulXStretch application installed"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user