nextcloud: add auto update
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
79af241a12
commit
75c895d9ee
12
nextcloud/update.sh
Executable file
12
nextcloud/update.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user