Mercurial > hg > sonic-visualiser
changeset 1920:55241126e0e4
Plugin subdirs
author | Chris Cannam |
---|---|
date | Tue, 03 Jul 2018 11:47:06 +0100 |
parents | 03acc9f89d4f |
children | 3513d7ff5ad9 |
files | deploy/linux/deploy-appimage.sh |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/deploy/linux/deploy-appimage.sh Tue Jul 03 10:45:28 2018 +0100 +++ b/deploy/linux/deploy-appimage.sh Tue Jul 03 11:47:06 2018 +0100 @@ -97,7 +97,11 @@ lib=$(find $libdir/plugins -name libq$plug.so -print 2>/dev/null || true) if [ -n "$lib" ]; then if [ -f "$lib" ]; then - target="$targetdir/usr/lib/qt5/plugins/$(basename $lib)" + subdir=$(basename $(dirname $lib)) + if [ t"$subdir" = t"plugins" ]; then + subdir="" + fi + target="$targetdir/usr/lib/qt5/plugins/$subdir/$(basename $lib)" mkdir -p "$(dirname $target)" cp -v "$lib" "$target" chmod +x "$target"