diff --git a/manifest.toml b/manifest.toml index 1733c75..d645120 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index dd8a354..33f25e4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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