aboutsummaryrefslogtreecommitdiff
path: root/deployment/build.debian.armhf
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/build.debian.armhf')
-rwxr-xr-xdeployment/build.debian.armhf16
1 files changed, 5 insertions, 11 deletions
diff --git a/deployment/build.debian.armhf b/deployment/build.debian.armhf
index 3d894ba20e..0ab9e2f9a4 100755
--- a/deployment/build.debian.armhf
+++ b/deployment/build.debian.armhf
@@ -1,18 +1,12 @@
#!/bin/bash
-#= Debian 10+ arm64 .deb
+#= Debian 12+ arm64 .deb
set -o errexit
set -o xtrace
# Move to source directory
-pushd ${SOURCE_DIR}
-
-if [[ ${IS_DOCKER} == YES ]]; then
- # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
- cp -a debian/control /tmp/control.orig
- sed -i '/dotnet-sdk-8.0,/d' debian/control
-fi
+pushd "${SOURCE_DIR}"
# Modify changelog to unstable configuration if IS_UNSTABLE
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
@@ -33,12 +27,12 @@ fi
export CONFIG_SITE=/etc/dpkg-cross/cross-config.${ARCH}
dpkg-buildpackage -us -uc -a armhf --pre-clean --post-clean
-mkdir -p ${ARTIFACT_DIR}/
-mv ../jellyfin*.{deb,dsc,tar.gz,buildinfo,changes} ${ARTIFACT_DIR}/
+mkdir -p "${ARTIFACT_DIR}/"
+mv ../jellyfin*.{deb,dsc,tar.gz,buildinfo,changes} "${ARTIFACT_DIR}/"
if [[ ${IS_DOCKER} == YES ]]; then
cp -a /tmp/control.orig debian/control
- chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}
+ chown -Rc "$(stat -c %u:%g "${ARTIFACT_DIR}")" "${ARTIFACT_DIR}"
fi
popd