1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/limesurvey_ynh.git synced 2024-09-03 19:36:32 +02:00

[fix] Use github link for source file

- Fix https://github.com/YunoHost-Apps/limesurvey_ynh/issues/17
- Here get a specific commit (specific command action for plugin)
This commit is contained in:
Denis Chenu 2017-02-18 20:10:20 +01:00
parent 3a5de2c49d
commit d065dbbb32
4 changed files with 22 additions and 22 deletions

View file

@ -1,3 +1,3 @@
SOURCE_URL=https://www.limesurvey.org/stable-release?download=1994:limesurvey2622%20170203targz
SOURCE_SUM=04aef224292ebacbfdf5c92cedc94de2f5900688bde33481a8908b15023df933
SOURCE_FILE=limesurvey2.62.2+170203.tar.gz
SOURCE_URL=https://github.com/LimeSurvey/LimeSurvey/archive/a46075a10b6244c850ee11dcf283d38bdd7d8ad5.tar.gz
SOURCE_SUM=b06778cd6747e4106953810d5aefe9f12d968a3910ce48159bcbb2fe5a61d486
SOURCE_FILE=limesurvey_2.6.2.1.tar.gz

View file

@ -2,7 +2,7 @@
"name": "LimeSurvey",
"id": "limesurvey",
"packaging_format": 1,
"version": "2.62.2",
"version": "2.62.2.1",
"description": {
"en": "LimeSurvey is used to create advanced poll.",
"fr": "LimeSurvey est un outil de création et diffusion de sondage en ligne."

View file

@ -37,7 +37,7 @@ ynh_setup_source "$local_path" "$user"
ynh_configure config.php "$local_path/application/config/config.php"
# Fill LimeSurvey database
# Fill LimeSurvey database @todo replace by command action from limesurvey
sed "s/\`prefix_/\`$prefix/g" $local_path/installer/sql/create-mysql.sql > ./structure.sql
mysql -u $db_user -p$db_pwd $db_user < ./structure.sql
ynh_configure data.sql ./data.sql
@ -53,10 +53,10 @@ set -x
ynh_set_default_perm $local_path
sudo chmod -R u+w $local_path/tmp
sudo chmod -R u+w $local_path/upload
sudo chmod -R u+w $local_path/application/config/
#~ sudo chmod -R u+w $local_path/application/config/
sudo yunohost app addaccess $app -u $admin
ynh_sso_access "/index.php?r=admin,/index.php?r=plugins,/scripts"
ynh_sso_access "/index.php?r=admin"
ynh_configure_php_fpm
ynh_configure_nginx