From 1da36f8690dc5ee1437188d5a6ac000b00fdd86f Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Sat, 27 Jul 2024 23:30:56 +0300 Subject: [PATCH] fix get build-dep --- main.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.sh b/main.sh index e918e4d0a..d9a668c9a 100755 --- a/main.sh +++ b/main.sh @@ -10,6 +10,9 @@ echo "$PIKA_BUILD_ARCH" > pika-build-arch apt-get source "$PIKA_PACKAGE_NAME=$VERSION" -y +# Get build deps +apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y + if [ "$PIKA_REBUILD" = true ] then VERSION="$VERSION+$PIKA_REBUILD_VERSION" @@ -18,9 +21,6 @@ fi # Get build deps #LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error" -# Get build deps -apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y - # Enter build dir cd $(find ./ -maxdepth 1 -name "$PIKA_PACKAGE_NAME*" -type d | head -1)