package-pipeline-nextcloud/nextcloud-27-app-previewgenerator/package.sh
s3lph f02435f2fa
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: initial commit, split off nextcloud packages from s3lph/package-pipeline
2023-11-11 07:05:59 +01:00

17 lines
544 B
Bash
Executable file

#!/bin/bash
. ../.skel/nextcloud-app/build-nextcloud-app
post_prepare() {
mkdir -p "${PKGDIR}/lib/systemd/system/"
cp "${ROOT}/nextcloud-preview-generator.service" "${PKGDIR}/lib/systemd/system/nextcloud-preview-generator.service"
cp "${ROOT}/nextcloud-preview-generator.timer" "${PKGDIR}/lib/systemd/system/nextcloud-preview-generator.timer"
github_changelog nextcloud/previewgenerator
}
postinst_configure_post() {
deb-systemd-helper enable nextcloud-preview-generator.timer
}
build_nextcloud_app previewgenerator 27