mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Who said I didn't check my code !?
This commit is contained in:
parent
2685c42ac6
commit
42f9c8fc18
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ ynh_install_app_dependencies () {
|
|||
manifest_path="../settings/manifest.json" # Into the restore script, the manifest is not at the same place
|
||||
fi
|
||||
version=$(grep '\"version\": ' "$manifest_path" | cut -d '"' -f 4) # Retrieve the version number in the manifest file.
|
||||
if [ " ${#version}" -eq 0 ]; then
|
||||
if [ ${#version} -eq 0 ]; then
|
||||
version="1.0"
|
||||
fi
|
||||
dep_app=${app//_/-} # Replace all '_' by '-'
|
||||
|
|
Loading…
Add table
Reference in a new issue