mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2025-11-02 14:55:29 +01:00
Add gogs code for CI
This commit is contained in:
@@ -80,6 +80,13 @@ then
|
||||
usermod -p '*' "$app"
|
||||
fi
|
||||
|
||||
# Remove old authentification mecanisme, actually the registry in the database has been replaced by a config file
|
||||
if [[ ! -e "$final_path/custom/conf/auth.d/ldap.conf" ]]
|
||||
then
|
||||
ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" <<< "DELETE FROM login_source WHERE name = 'Yunohost LDAP';"
|
||||
mkdir -p "$final_path/custom/conf/auth.d"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# STANDARD UPGRADE STEPS
|
||||
#=================================================
|
||||
@@ -103,6 +110,9 @@ config_nginx
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
||||
# Unprotect root from SSO if public
|
||||
set_access_settings
|
||||
|
||||
# Set permissions
|
||||
set_permission
|
||||
|
||||
|
||||
Reference in New Issue
Block a user