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
|
# Assign the asset to a source file in conf/ directory
|
||||||
# Leave $src empty to ignore the asset
|
# Leave $src empty to ignore the asset
|
||||||
case $asset_url in
|
#case $asset_url in
|
||||||
*"Source"*)
|
# *"Source"*)
|
||||||
src="app"
|
# src="app"
|
||||||
;;
|
# ;;
|
||||||
*)
|
# *)
|
||||||
src=""
|
# src=""
|
||||||
;;
|
# ;;
|
||||||
esac
|
#esac
|
||||||
|
#There should be only one asset in the zipball directory
|
||||||
|
src="app"
|
||||||
|
|
||||||
# If $src is not empty, let's process the asset
|
# If $src is not empty, let's process the asset
|
||||||
if [ ! -z "$src" ]; then
|
if [ ! -z "$src" ]; then
|
||||||
|
|
Loading…
Reference in a new issue