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
780481758b
commit
8aa1b259aa
2 changed files with 1 additions and 4 deletions
|
@ -125,8 +125,6 @@ ynh_add_config --template="../conf/app.ini" --destination="$final_path/custom/co
|
||||||
chmod 400 "$final_path/custom/conf/app.ini"
|
chmod 400 "$final_path/custom/conf/app.ini"
|
||||||
chown $app:$app "$final_path/custom/conf/app.ini"
|
chown $app:$app "$final_path/custom/conf/app.ini"
|
||||||
|
|
||||||
#ynh_add_config --template="../conf/ldap.conf" --destination="$final_path/custom/conf/auth.d/ldap.conf"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALISATION
|
# GENERIC FINALISATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -36,8 +36,7 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
||||||
|
|
||||||
test ! -d $final_path \
|
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
|
||||||
|| ynh_die --message="There is already a directory: $final_path "
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD RESTORATION STEPS
|
# STANDARD RESTORATION STEPS
|
||||||
|
|
Loading…
Add table
Reference in a new issue