From f55a9d03ac0987c02955635eda134411c77301e2 Mon Sep 17 00:00:00 2001 From: zhangqianze Date: Mon, 26 Aug 2024 20:57:38 +0800 Subject: [PATCH] fix: remove unnecessary so --- agents/scripts/install_deps_and_build.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/agents/scripts/install_deps_and_build.sh b/agents/scripts/install_deps_and_build.sh index 9023e35d..4d1538ff 100755 --- a/agents/scripts/install_deps_and_build.sh +++ b/agents/scripts/install_deps_and_build.sh @@ -74,6 +74,15 @@ build_go_app() { fi } +post_install() { + local app_dir=$1 + cd $app_dir + + if [ -f "ten_packages/extension/agora_rtc/lib/liblinux_audio_hy_extension.so" ]; then + rm "ten_packages/extension/agora_rtc/lib/liblinux_audio_hy_extension.so" + fi +} + clean() { local app_dir=$1 rm -rf BUILD.gn out @@ -122,6 +131,9 @@ main() { build_go_app $APP_HOME echo "install_python_requirements..." install_python_requirements $APP_HOME + + echo "post installation..." + post_install $APP_HOME } main "$@"