1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yellow_ynh.git synced 2024-09-03 20:36:12 +02:00
This commit is contained in:
ericgaspar 2021-09-24 08:31:30 +02:00
parent 623a59ded4
commit 6a3e003c76
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 8 deletions

View file

@ -66,9 +66,6 @@ case $asset_url in
*".zip"*) *".zip"*)
src="app" src="app"
;; ;;
*)
src=""
;;
esac esac
# If $src is not empty, let's process the asset # If $src is not empty, let's process the asset
@ -100,7 +97,7 @@ SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=$extension SOURCE_FORMAT=$extension
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_EXTRACT=false SOURCE_EXTRACT=false
SOURCE_FILENAME=yellow.$version.zip SOURCE_FILENAME=yellow.zip
EOT EOT
echo "... conf/$src.src updated" echo "... conf/$src.src updated"
@ -125,7 +122,7 @@ done
sudo apt-get install moreutils sudo apt-get install moreutils
# Replace new version in manifest # Replace new version in manifest
echo "$(jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json)" > manifest.json jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json | sponge manifest.json
# No need to update the README, yunohost-bot takes care of it # No need to update the README, yunohost-bot takes care of it

View file

@ -3,4 +3,4 @@ SOURCE_SUM=926887e762133b0d0a48ff74806b8fc46600402d8c87c1d3a9ab6474e952a58f
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=yellow.0.8.17.zip SOURCE_FILENAME=yellow.zip

View file

@ -31,8 +31,7 @@
"install" : [ "install" : [
{ {
"name": "domain", "name": "domain",
"type": "domain", "type": "domain"
"example": "example.com"
}, },
{ {
"name": "path", "name": "path",