mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
Fix post-install
This commit is contained in:
parent
7fe97ee09b
commit
5ff2590cd6
2 changed files with 8 additions and 7 deletions
|
@ -6,8 +6,10 @@
|
||||||
;; Test complet
|
;; Test complet
|
||||||
; Manifest
|
; Manifest
|
||||||
domain="domain.tld" (DOMAIN)
|
domain="domain.tld" (DOMAIN)
|
||||||
path="/cp-install" (PATH)
|
path="/path" (PATH)
|
||||||
is_public=1 (PUBLIC|public=1|private=0)
|
is_public=1 (PUBLIC|public=1|private=0)
|
||||||
|
admin="john" (USER)
|
||||||
|
password="pass"
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
setup_sub_dir=0
|
setup_sub_dir=0
|
||||||
|
@ -16,8 +18,6 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
#1.0.0 alpha.40
|
|
||||||
upgrade=1 from_commit=ac00b520875beed49bb138e795562e1f74700ab9
|
|
||||||
#1.0.0 alpha.41
|
#1.0.0 alpha.41
|
||||||
upgrade=1 from_commit=9c603f6b659e4191028cc909311a0cbde9955155
|
upgrade=1 from_commit=9c603f6b659e4191028cc909311a0cbde9955155
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
|
@ -27,8 +27,6 @@
|
||||||
Email=
|
Email=
|
||||||
Notification=none
|
Notification=none
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=ac00b520875beed49bb138e795562e1f74700ab9
|
|
||||||
name=1.0.0 alpha.40
|
|
||||||
; commit=9c603f6b659e4191028cc909311a0cbde9955155
|
; commit=9c603f6b659e4191028cc909311a0cbde9955155
|
||||||
name=1.0.0 alpha.41
|
name=1.0.0 alpha.41
|
||||||
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&
|
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&
|
||||||
|
|
|
@ -123,7 +123,10 @@ ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
# Installation with curl
|
# Installation with curl
|
||||||
ynh_script_progression --message="Finalizing installation..." --weight=1
|
ynh_script_progression --message="Finalizing installation..." --weight=1
|
||||||
ynh_local_curl "/cp-install" "email=$email" "username=$admin" "password=$password"
|
|
||||||
|
ynh_local_curl "/cp-install"
|
||||||
|
|
||||||
|
ynh_local_curl "/cp-install/create-superadmin" "email=$email" "username=$admin" "password=$password"
|
||||||
|
|
||||||
ynh_permission_update --permission="main" --remove="visitors"
|
ynh_permission_update --permission="main" --remove="visitors"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue