mirror of
https://github.com/YunoHost-Apps/2FAuth_ynh.git
synced 2024-09-03 20:36:18 +02:00
Update updater.sh
This commit is contained in:
parent
9411085e78
commit
3ef418b96c
1 changed files with 3 additions and 3 deletions
6
.github/workflows/updater.sh
vendored
6
.github/workflows/updater.sh
vendored
|
@ -10,7 +10,7 @@
|
||||||
# automatic actions when a new upstream release is detected.
|
# automatic actions when a new upstream release is detected.
|
||||||
|
|
||||||
# Remove this exit command when you are ready to run this Action
|
# Remove this exit command when you are ready to run this Action
|
||||||
exit 1
|
#exit 1
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# FETCHING LATEST RELEASE AND ITS ASSETS
|
# FETCHING LATEST RELEASE AND ITS ASSETS
|
||||||
|
@ -67,14 +67,14 @@ echo "Handling asset at $asset_url"
|
||||||
# Here we base the source file name upon a unique keyword in the assets url (admin vs. update)
|
# 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
|
# Leave $src empty to ignore the asset
|
||||||
case $asset_url in
|
case $asset_url in
|
||||||
*"admin"*)
|
"v"*".tar.gz")
|
||||||
src="app"
|
src="app"
|
||||||
;;
|
;;
|
||||||
*"update"*)
|
*"update"*)
|
||||||
src="app-upgrade"
|
src="app-upgrade"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
src=""
|
src="app"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue