nextcloud: add auto update
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-01-17 22:10:12 +01:00
parent 79af241a12
commit 75c895d9ee

12
nextcloud/update.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
source ../.util.sh
#ver=$(curl -s https://download.nextcloud.com/server/releases/ | htmlq --attribute href a | pcregrep -o1 'nextcloud-([\d|\.]+)\.tar\.bz2$' | sort -V | tail
# -n 1)
#echo $ver
#sed -i "s/pkgver=.*/pkgver=${ver}/" PKGBUILD
update_github_tag nextcloud/server
update_pkg