mirror of
https://github.com/MaksTinyWorkshop/_Assistant_Lead_Tech
synced 2026-04-06 13:31:43 +02:00
fix(scripts): chemins KeePass — Racine/ pour export CSV, sans préfixe pour show
This commit is contained in:
@@ -53,7 +53,7 @@ EOF
|
||||
title="${title//\"/}"
|
||||
password="${password//\"/}"
|
||||
|
||||
[[ "$group" != "global" && "$group" != "global/"* ]] && continue
|
||||
[[ "$group" != "Racine/global" && "$group" != "Racine/global/"* ]] && continue
|
||||
|
||||
local var_name="$title"
|
||||
if ! printf '%s' "$var_name" | grep -Eq '^[A-Z_][A-Z0-9_]*$'; then
|
||||
|
||||
@@ -70,7 +70,7 @@ EOF
|
||||
password="${password//\"/}"
|
||||
|
||||
# Filtrer le groupe services
|
||||
[[ "$group" != "services" && "$group" != "services/"* ]] && continue
|
||||
[[ "$group" != "Racine/services" && "$group" != "Racine/services/"* ]] && continue
|
||||
|
||||
# Le nom de variable = titre de l'entrée
|
||||
local var_name="$title"
|
||||
|
||||
Reference in New Issue
Block a user