mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Fix
This commit is contained in:
parent
4d8ca00c7f
commit
e5c3b49692
2 changed files with 16 additions and 11 deletions
|
@ -12,21 +12,10 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
upgrade=1 from_commit=aa075b2051ffad7b0b6fef3a9c767376d5bdbfab
|
|
||||||
upgrade=1 from_commit=1cbec051e1171de5a8ed1e850eb4fb3506114da5
|
|
||||||
upgrade=1 from_commit=5a706ed246392c1ce39c47a648cb93e2996e80d3
|
|
||||||
upgrade=1 from_commit=f572b5941b0e6833fb32a0132ac8d3692742924f
|
upgrade=1 from_commit=f572b5941b0e6833fb32a0132ac8d3692742924f
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
incorrect_path=0
|
|
||||||
port_already_use=1 (6000)
|
|
||||||
change_url=1
|
change_url=1
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=aa075b2051ffad7b0b6fef3a9c767376d5bdbfab
|
|
||||||
name=Before multi_instance and refactoring
|
|
||||||
; commit=1cbec051e1171de5a8ed1e850eb4fb3506114da5
|
|
||||||
name=From V0.10.18
|
|
||||||
; commit=5a706ed246392c1ce39c47a648cb93e2996e80d3
|
|
||||||
name=The oldest package
|
|
||||||
; commit=f572b5941b0e6833fb32a0132ac8d3692742924f
|
; commit=f572b5941b0e6833fb32a0132ac8d3692742924f
|
||||||
name=0.11.79
|
name=0.11.79
|
||||||
|
|
|
@ -49,6 +49,22 @@ ynh_clean_setup () {
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CHECK WHICH PARTS SHOULD BE CHANGED
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
change_domain=0
|
||||||
|
if [ "$old_domain" != "$new_domain" ]
|
||||||
|
then
|
||||||
|
change_domain=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
change_path=0
|
||||||
|
if [ "$old_path" != "$new_path" ]
|
||||||
|
then
|
||||||
|
change_path=1
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue