Merge pull request #12 from Lance0312/create-alsa-lib

Copy shared library using install -D
This commit is contained in:
Baozhu Zuo 2017-10-24 22:17:58 +08:00 committed by GitHub
commit b9d9cde471

View file

@ -55,7 +55,7 @@ if [ ! -f "/boot/overlays/seeed-4mic-voicecard.dtbo" ] && [ ! -f "/lib/modules/$
install_module "./" "seeed-voicecard" install_module "./" "seeed-voicecard"
cp seeed-2mic-voicecard.dtbo /boot/overlays cp seeed-2mic-voicecard.dtbo /boot/overlays
cp seeed-4mic-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 else
echo "card driver already installed" echo "card driver already installed"
fi fi