aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorktprograms <ktprograms@gmail.com>2021-11-27 12:15:55 +0800
committerAndy Postnikov <apostnikov@gmail.com>2021-11-30 22:30:23 +0000
commit5c5336b257a93f14fbff522d60df852982dd546a (patch)
tree27ad744fc8c4b8c9f68200162cdcdbacf6444709
parent4035f02e0d82a62d1b043e5bec0094d00410bb58 (diff)
downloadaports-5c5336b257a93f14fbff522d60df852982dd546a.tar.gz
aports-5c5336b257a93f14fbff522d60df852982dd546a.tar.bz2
aports-5c5336b257a93f14fbff522d60df852982dd546a.tar.xz
community/nextcloud: use php8 binary for occ
Credit to @earboxer1, commit diff taken from !27825
-rw-r--r--community/nextcloud/APKBUILD2
-rw-r--r--community/nextcloud/occ4
2 files changed, 3 insertions, 3 deletions
diff --git a/community/nextcloud/APKBUILD b/community/nextcloud/APKBUILD
index a2f009c740..eff389c5f1 100644
--- a/community/nextcloud/APKBUILD
+++ b/community/nextcloud/APKBUILD
@@ -259,5 +259,5 @@ dcc57735d7d4af4a7ebbdd1186d301e51d2ae4675022aea6bf1111222dfa188a3a490ebd6e7c8a7a
cf129b405601cc6ac09b2e976bb1e2673e41d4e15e0e21466767b7a1481476825fa327b0e515f454b3c9ae67ca245fd8762885ff9a4df800189de53ae88b7cc2 nextcloud.cron
b9ad5434c384c96608f00d65c45f782e279c6756da8fb706f62ecaf7b7aa420077cb6989da5e85becc47418884ec0672e7db874174454ca679fdca84a50f537f nextcloud-mysql.cnf
78ef204ee7c12b228c0b7b04333514e561c1c8e19153f5507224fa4fdd112aaaa6331747014f3b72181298f52ecd4223bcff4bd963b49b49153265254b07e79b fpm-pool.conf
-959852e34f010e635470829d66713f3e22c47717ec2c6487759eed2b6aeff9fd1421fe0271d494a02781bd1c98beb2823583623ee2cf03057cd5db794627d6c2 occ
+36724da58515b7117e2b927c44fc2f3ed37f3fc1b56d062868fadb2251b9fcc21f48af6fc6726414f61c32812c49e6bd851f12328664c9e5c435f7237369046a occ
"
diff --git a/community/nextcloud/occ b/community/nextcloud/occ
index 1e3c095adc..fbb3afa633 100644
--- a/community/nextcloud/occ
+++ b/community/nextcloud/occ
@@ -4,7 +4,7 @@ NEXTCLOUD_DIR='/usr/share/webapps/nextcloud'
: ${NEXTCLOUD_USER:="nextcloud"}
if [ "$(id -un)" != "$NEXTCLOUD_USER" ]; then
- exec su -s /bin/sh "$NEXTCLOUD_USER" -c '$0 "$@"' -- $NEXTCLOUD_DIR/occ "$@"
+ exec su -s /bin/sh "$NEXTCLOUD_USER" -c '$0 "$@"' -- php8 $NEXTCLOUD_DIR/occ "$@"
else
- exec $NEXTCLOUD_DIR/occ "$@"
+ exec php8 $NEXTCLOUD_DIR/occ "$@"
fi