mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix ynh_app_dependencies
Double // pour remplacer toutes les occurrences de _ Ajout d'une virgule entre les dépendances.
This commit is contained in:
parent
b062c014b0
commit
7ade94e7e3
1 changed files with 2 additions and 2 deletions
|
@ -115,13 +115,13 @@ ynh_app_dependencies () {
|
|||
manifest_path="../settings/manifest.json" # Into the restore script, the manifest is not at the same place
|
||||
fi
|
||||
version=$(sudo python3 -c "import sys, json;print(json.load(open(\"$manifest_path\"))['version'])") # Retrieve the version number in the manifest file.
|
||||
dep_app=${app/_/-} # Replace all '_' by '-'
|
||||
dep_app=${app//_/-} # Replace all '_' by '-'
|
||||
cat > ./${dep_app}-ynh-deps.control << EOF # Make a control file for equivs-build
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Package: ${dep_app}-ynh-deps
|
||||
Version: ${version}
|
||||
Depends: ${dependencies}
|
||||
Depends: ${dependencies// /, }
|
||||
Architecture: all
|
||||
Description: Fake package for ${app} (YunoHost app) dependencies
|
||||
This meta-package is only responsible of installing its dependencies.
|
||||
|
|
Loading…
Add table
Reference in a new issue