mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-23 19:41:36 +01:00
Fix linter
This commit is contained in:
parent
b7b73bbf89
commit
cd38b3eae1
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user