mirror of
https://github.com/YunoHost-Apps/concrete5_ynh.git
synced 2024-09-03 18:25:54 +02:00
roll back to admin_name and admin_pass
This commit is contained in:
parent
98e7ead380
commit
18477d2458
6 changed files with 13 additions and 13 deletions
|
@ -17,7 +17,7 @@ Features :
|
||||||
* Marketing tools
|
* Marketing tools
|
||||||
* **and more**...
|
* **and more**...
|
||||||
|
|
||||||
**Shipped version:** 8.4.5
|
**Shipped version:** 8.5.0
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|
|
@ -7,10 +7,10 @@
|
||||||
; Manifest
|
; Manifest
|
||||||
domain="domain.tld" (DOMAIN)
|
domain="domain.tld" (DOMAIN)
|
||||||
path="/path" (PATH)
|
path="/path" (PATH)
|
||||||
admin="john" (USER)
|
admin_name="john" (USER)
|
||||||
language="fr_FR"
|
language="fr_FR"
|
||||||
is_public=1 (PUBLIC|public=1|private=0)
|
is_public=1 (PUBLIC|public=1|private=0)
|
||||||
password="pass"
|
admin_pass="pass"
|
||||||
website_title="site"
|
website_title="site"
|
||||||
|
|
||||||
; Checks
|
; Checks
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/concrete5/concrete5/archive/8.4.5.tar.gz
|
SOURCE_URL=https://github.com/concrete5/concrete5/archive/8.5.0.tar.gz
|
||||||
SOURCE_SUM=a8708e6d55dba3bcf6aeb2a377eaa851650cb8634343c7ce4e88045fd58d565e
|
SOURCE_SUM=0817919036201331bd610e1e77fb83732b235ab2b6ed1f19b2312899a7929318
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Create a modern Website",
|
"en": "Create a modern Website",
|
||||||
"fr": "Créer un site web moderne avec un CMS moderne"
|
"fr": "Créer un site web moderne avec un CMS moderne"
|
||||||
},
|
},
|
||||||
"version": "8.4.5~ynh1",
|
"version": "8.5.0~ynh1",
|
||||||
"url": "www.concrete5.org",
|
"url": "www.concrete5.org",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
"default": "/concrete"
|
"default": "/concrete"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin_name",
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose an admin user",
|
"en": "Choose an admin user",
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
"default": "en_US"
|
"default": "en_US"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "password",
|
"name": "admin_pass",
|
||||||
"type": "password",
|
"type": "password",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Set the administrator password",
|
"en": "Set the administrator password",
|
||||||
|
|
|
@ -22,12 +22,12 @@ ynh_abort_if_errors
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
admin=$YNH_APP_ARG_ADMIN
|
admin_name=$YNH_APP_ARG_ADMIN_NAME
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
language=$YNH_APP_ARG_LANGUAGE
|
language=$YNH_APP_ARG_LANGUAGE
|
||||||
password=$YNH_APP_ARG_PASSWORD
|
password=$YNH_APP_ARG_PASSWORD
|
||||||
website_title=$YNH_APP_ARG_WEBSITE_TITLE
|
website_title=$YNH_APP_ARG_WEBSITE_TITLE
|
||||||
admin_email=$(ynh_user_get_info $admin 'mail')
|
admin_email=$(ynh_user_get_info $admin_name 'mail')
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ ynh_print_info "Storing installation settings..."
|
||||||
|
|
||||||
ynh_app_setting_set $app domain $domain
|
ynh_app_setting_set $app domain $domain
|
||||||
ynh_app_setting_set $app path $path_url
|
ynh_app_setting_set $app path $path_url
|
||||||
ynh_app_setting_set $app admin $admin
|
ynh_app_setting_set $app admin_name $admin_name
|
||||||
ynh_app_setting_set $app is_public $is_public
|
ynh_app_setting_set $app is_public $is_public
|
||||||
ynh_app_setting_set $app language $language
|
ynh_app_setting_set $app language $language
|
||||||
ynh_app_setting_set $app admin_email $admin_email
|
ynh_app_setting_set $app admin_email $admin_email
|
||||||
|
@ -120,7 +120,7 @@ pushd $final_path
|
||||||
--db-password=$db_pwd \
|
--db-password=$db_pwd \
|
||||||
--site="$website_title" \
|
--site="$website_title" \
|
||||||
--admin-email="$admin_email" \
|
--admin-email="$admin_email" \
|
||||||
--admin-password=$password \
|
--admin-password="$admin_pass" \
|
||||||
--language=$language \
|
--language=$language \
|
||||||
--site-locale=$language \
|
--site-locale=$language \
|
||||||
--verbose \
|
--verbose \
|
||||||
|
|
|
@ -18,7 +18,7 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
domain=$(ynh_app_setting_get $app domain)
|
domain=$(ynh_app_setting_get $app domain)
|
||||||
path_url=$(ynh_app_setting_get $app path)
|
path_url=$(ynh_app_setting_get $app path)
|
||||||
admin=$(ynh_app_setting_get $app admin)
|
admin_name=$(ynh_app_setting_get $app admin_name)
|
||||||
is_public=$(ynh_app_setting_get $app is_public)
|
is_public=$(ynh_app_setting_get $app is_public)
|
||||||
final_path=$(ynh_app_setting_get $app final_path)
|
final_path=$(ynh_app_setting_get $app final_path)
|
||||||
language=$(ynh_app_setting_get $app language)
|
language=$(ynh_app_setting_get $app language)
|
||||||
|
|
Loading…
Add table
Reference in a new issue