From 1f305ad64ff3bc5c0d85017f750d4d6135256d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 23 Jul 2022 10:06:42 +0200 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 89aeeb4..54d70c4 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -34,12 +34,6 @@ create_dir() { mkdir -p "/var/log/$app" } - -config_gitea() { - ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+") - ynh_add_config --template="app.ini" --destination="$final_path/custom/conf/app.ini" -} - set_permission() { chown -R $app:$app "$final_path" chown -R $app:$app "$datadir"