Skip to content

Commit

Permalink
Update common.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Oct 10, 2023
1 parent 53f2a68 commit 39f4fc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ function package() {
rm ${PACKAGE_NAME}_${VERSION}_${PACKAGE_ARCH}.deb >/dev/null 2>&1
if [[ "${PLATFORM}" == "pi" ]]; then
cd ${SRC_DIR}
rm -Rf ${PACKAGE_DIR}/lib/modules/6.1.54-v7+/source
rm -Rf ${PACKAGE_DIR}/lib/modules/6.1.54-v7+/build
rm -Rf ${PACKAGE_DIR}/lib/modules/6.1.54-v7l+/source
rm -Rf ${PACKAGE_DIR}/lib/modules/6.1.54-v7l+/build
rm -Rf ${PACKAGE_DIR}/lib/modules/6.1.55-v7+/source
rm -Rf ${PACKAGE_DIR}/lib/modules/6.1.55-v7+/build
rm -Rf ${PACKAGE_DIR}/lib/modules/6.1.55-v7l+/source
rm -Rf ${PACKAGE_DIR}/lib/modules/6.1.55-v7l+/build
fpm -a ${PACKAGE_ARCH} -s dir -t deb -n ${PACKAGE_NAME} -v ${VERSION} -C ${PACKAGE_DIR} \
--after-install after-install.sh \
--before-install before-install.sh \
Expand Down

0 comments on commit 39f4fc6

Please sign in to comment.