1
0
Fork 0
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:
Krakinou 2022-12-17 14:14:08 +01:00
parent 35981bcc82
commit 3e40d55c4c

View file

@ -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