From 8094f7c3ab6905368cfc03e62cddcb61594eea4c Mon Sep 17 00:00:00 2001 From: Lance Chen Date: Tue, 24 Oct 2017 21:42:24 +0800 Subject: [PATCH] Copy shared library using install -D /usr/lib/arm-linux-gnueabihf/alsa-lib/ might not exist --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e76368a..9430dbd 100755 --- a/install.sh +++ b/install.sh @@ -55,7 +55,7 @@ if [ ! -f "/boot/overlays/seeed-4mic-voicecard.dtbo" ] && [ ! -f "/lib/modules/$ install_module "./" "seeed-voicecard" cp seeed-2mic-voicecard.dtbo /boot/overlays cp seeed-4mic-voicecard.dtbo /boot/overlays - cp ac108_plugin/libasound_module_pcm_ac108.so /usr/lib/arm-linux-gnueabihf/alsa-lib/ + install -D ac108_plugin/libasound_module_pcm_ac108.so /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_ac108.so else echo "card driver already installed" fi