Update main.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-07-31 16:14:33 +02:00
parent 89e2b5f4f9
commit 1da3b46736

View File

@ -8,7 +8,12 @@ VERSION="$PIKA_PACKAGE_VERSION"
echo "$PIKA_BUILD_ARCH" > pika-build-arch echo "$PIKA_BUILD_ARCH" > pika-build-arch
apt-get source "$PIKA_PACKAGE_NAME=$VERSION" -y if [[ "$PIKA_PACKAGE_NAME" == *-dmo ]];
then
apt-get source "$PIKA_PACKAGE_NAME" -y
else
apt-get source "$PIKA_PACKAGE_NAME=$VERSION" -y
fi
# Get build deps # Get build deps
apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y