From bcc474b167e202327ee08f98dcf0c4887fd7f239 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:40:12 +0100 Subject: [PATCH] Update package.sh --- package.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.sh b/package.sh index f9f0240c7..d8a7be8ec 100755 --- a/package.sh +++ b/package.sh @@ -87,7 +87,7 @@ fi VERSION="2.5.3-$(date '+%Y%m%d%H%M')-${VER2}" rm ${PACKAGE_NAME}_${VERSION}_${PACKAGE_ARCH}.deb > /dev/null 2>&1 -if [[ "${PACKAGE_ARCH}" = "armhf" ]] || [[ "${PACKAGE_ARCH}" = "x86_64" ]]; then +if [[ "${PACKAGE_ARCH}" = "armhf" ]]; then fpm -a ${PACKAGE_ARCH} -s dir -t deb -n ${PACKAGE_NAME} -v ${VERSION} -C ${TMPDIR} \ -p qopenhd_VERSION_ARCH.deb \ --after-install after-install.sh \ @@ -111,4 +111,9 @@ elif [[ "${PACKAGE_ARCH}" = "arm64" ]]; then -p qopenhd_rk3588_VERSION_ARCH.deb \ --after-install after-install.sh \ ${PLATFORM_PACKAGES} || exit 1 +else + fpm -a ${PACKAGE_ARCH} -s dir -t deb -n ${PACKAGE_NAME} -v ${VERSION} -C ${TMPDIR} \ + -p qopenhd_VERSION_ARCH.deb \ + --after-install after-install.sh \ + ${PLATFORM_PACKAGES} || exit 1 fi