Fix linter

This commit is contained in:
Josué Tille 2023-12-06 11:56:38 +01:00
parent b7b73bbf89
commit cd38b3eae1
No known key found for this signature in database
GPG Key ID: 716A6C99B04194EF
2 changed files with 6 additions and 2 deletions

View File

@ -53,6 +53,10 @@ ram.runtime = "100M"
[install.init_admin_permission]
ask.en = "Which group will have access to Gitea admin page"
ask.fr = "Quel groupe aura accès à l'administration de Gitea"
help.en = "Users of this group should have access to Gitea admin page"
help.fr = "Les utilisateurs de ce groupe devrait avoir accès à la page d'administration de Gitea"
type = "group"
default = "admins"

View File

@ -43,8 +43,8 @@ if [ -d "/opt/$app" ]; then
fi
# Move data directory
if [ -d "/home/$app" ]; then
mv "/home/$app/" "$data_dir"
if [ -d /home"/$app" ]; then
mv /home"/$app/" "$data_dir"
fi
# Ensure the user has the correct home dir