Skip to content

Commit

Permalink
Update package.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Nov 21, 2023
1 parent 4334151 commit bcc474b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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

0 comments on commit bcc474b

Please sign in to comment.