From c2ba65e7a735a897e46f8da266865f7c6d50b0c7 Mon Sep 17 00:00:00 2001 From: Konstantinos Chatzilygeroudis Date: Tue, 17 Sep 2024 09:57:40 +0300 Subject: [PATCH] Find dartpy --- ci/install_dart_latest.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/install_dart_latest.sh b/ci/install_dart_latest.sh index 606203b4..6d01ba4f 100755 --- a/ci/install_dart_latest.sh +++ b/ci/install_dart_latest.sh @@ -48,14 +48,16 @@ ${SUDOCMD} make install dartpy # We are inside the CI if [ "$PREFIX" = "/home/runner/.dart_install" ]; then -sudo ldconfig +${SUDOCMD} ldconfig cd $CI_HOME # Hack for dartpy installation python_file=/usr/lib/python3/dist-packages/dartpy.cpython-310-x86_64-linux-gnu.so if [ -f "$python_file" ]; then -sudo cp $python_file ${PREFIX}/$python_dist_dir +${SUDOCMD} cp $python_file ${PREFIX}/$python_dist_dir fi + +${SUDOCMD} updatedb echo "Searching for dartpy.cpython-310-x86_64-linux-gnu.so ..." locate dartpy.cpython-310-x86_64-linux-gnu.so