Files
postinstall-debian/lib/validation.sh
2026-03-15 04:54:51 +01:00

11 lines
178 B
Bash

#!/usr/bin/env bash
validation_require_file() {
local file_path="$1"
if [[ ! -f "$file_path" ]]; then
ui_error "Fichier requis manquant : $file_path"
exit 1
fi
}