mirror of
https://github.com/YunoHost-Apps/filebrowser_ynh.git
synced 2024-09-03 18:36:05 +02:00
Update updater.sh
This commit is contained in:
parent
b7c989a45f
commit
126653c941
1 changed files with 7 additions and 4 deletions
11
.github/workflows/updater.sh
vendored
11
.github/workflows/updater.sh
vendored
|
@ -66,15 +66,18 @@ echo "Handling asset at $asset_url"
|
|||
# Here we base the source file name upon a unique keyword in the assets url (admin vs. update)
|
||||
# Leave $src empty to ignore the asset
|
||||
case $asset_url in
|
||||
*"/linux-amd64-filebrowser.tar.gz")
|
||||
*"linux-amd64-filebrowser.tar.gz")
|
||||
src="amd64"
|
||||
;;
|
||||
*"/linux-arm64-filebrowser.tar.gz")
|
||||
*"linux-arm64-filebrowser.tar.gz")
|
||||
src="arm64"
|
||||
;;
|
||||
*"/linux-armv7-filebrowser.tar.gz")
|
||||
*"linux-armv7-filebrowser.tar.gz")
|
||||
src="armhf"
|
||||
;;
|
||||
*)
|
||||
src=""
|
||||
;;
|
||||
esac
|
||||
|
||||
# If $src is not empty, let's process the asset
|
||||
|
@ -104,7 +107,7 @@ SOURCE_URL=$asset_url
|
|||
SOURCE_SUM=$checksum
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=$extension
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_IN_SUBDIR=false
|
||||
SOURCE_FILENAME=
|
||||
EOT
|
||||
echo "... conf/$src.src updated"
|
||||
|
|
Loading…
Add table
Reference in a new issue