3 # Install lv2 plugin bundle
6 if test -z "${LV2_INSTALL_PATH}"
10 echo "Trying to deduce install location from LV2_PATH contents..."
13 for DEST
in ${LV2_PATH}
15 if test -d "${DEST}" -a -w "${DEST}"
17 echo "${DEST} looks good."
18 LV2_INSTALL_PATH
=${DEST}
21 echo "${DEST} is not writable directory..."
24 #echo "${LV2_PATH} is directory. Installing there..."
25 #LV2_INSTALL_PATH=${LV2_PATH}
28 echo "LV2_PATH is not set, not trying to auto-deduce install location"
32 if test -z "${LV2_INSTALL_PATH}"
34 echo "Please specify where to install by supplying LV2_INSTALL_PATH"
38 echo "Installing ${1} to ${LV2_INSTALL_PATH}"
39 cp -R ${1} ${LV2_INSTALL_PATH}