aur/nextcloud/update.sh
nyyu 75c895d9ee
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
nextcloud: add auto update
2023-01-17 22:10:26 +01:00

13 lines
300 B
Bash
Executable File

#!/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