mirror of
https://github.com/YunoHost-Apps/zwave-js-ui_ynh.git
synced 2024-09-03 18:06:00 +02:00
handle zipball assets
This commit is contained in:
parent
35981bcc82
commit
3e40d55c4c
1 changed files with 10 additions and 8 deletions
18
.github/workflows/updater.sh
vendored
18
.github/workflows/updater.sh
vendored
|
@ -53,14 +53,16 @@ echo "Handling asset at $asset_url"
|
|||
|
||||
# Assign the asset to a source file in conf/ directory
|
||||
# Leave $src empty to ignore the asset
|
||||
case $asset_url in
|
||||
*"Source"*)
|
||||
src="app"
|
||||
;;
|
||||
*)
|
||||
src=""
|
||||
;;
|
||||
esac
|
||||
#case $asset_url in
|
||||
# *"Source"*)
|
||||
# src="app"
|
||||
# ;;
|
||||
# *)
|
||||
# src=""
|
||||
# ;;
|
||||
#esac
|
||||
#There should be only one asset in the zipball directory
|
||||
src="app"
|
||||
|
||||
# If $src is not empty, let's process the asset
|
||||
if [ ! -z "$src" ]; then
|
||||
|
|
Loading…
Reference in a new issue