erreur sur wget

This commit is contained in:
2026-03-18 08:22:29 +01:00
parent 2540a96a1e
commit d48cb923eb
2 changed files with 3 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ download_and_install() {
purge_obsolete_files() {
info "Analyse des fichiers obsolètes (Synchronisation avec Git)..."
# On scanne bin, lib et conf
find "${BASE_DIR}/bin" "${BASE_DIR}/lib" "${BASE_DIR}/conf" -type f | while read -r local_file; do
find "${BASE_DIR}/bin" "${BASE_DIR}/lib" "${BASE_DIR}/conf" -type f 2>/dev/null | while read -r local_file; do
local rel_path="${local_file#$BASE_DIR/}"
@@ -113,8 +113,7 @@ purge_obsolete_files() {
continue
fi
# Si le fichier n'est pas dans le manifeste validé, on le supprime
if ! grep -qW "$rel_path" "${TMP_DIR}/manifest-valid.txt"; then
if ! grep -qw "$rel_path" "${TMP_DIR}/manifest-valid.txt"; then
warn "Suppression : $rel_path (absent du dépôt)"
rm -f "$local_file"
fi

View File

@@ -1,7 +1,7 @@
5b4ea784d2cbe73f6e829e35f23b0b4dbe12df55cc1abc8eba6602da36c724ef 755 bin/alert-engine.php
d3d80aab061d7bef8c3830eac2198f10b98270f8b48517b6538ddf766c8dcda7 755 bin/check_disk.sh
ead10d3be3aac48c6406a734dee1bddf9a8abb1e21de102ce72fa92fdecbaf22 755 bin/check_smart.sh
91124af120724f5b38335a1110786257dac4ecd0f81d4e552e80b36a46b23e72 755 bin/install-monitoring.sh
a724b2673400cc539a3ed7e6285b346ca68b302d5bd119f8290ed87c17a1fe33 755 bin/install-monitoring.sh
97a91b13b0776acb3326010821ffcc163e96a97e3c326ea77f11efdb7baf159a 755 bin/log-cli.php
ea5a5d55bb877ae88da6e1cd1b798026a1de1d9845dc42af4b19685ad6a128c6 755 bin/monitoring.php
97d407d75a26bd2ebbb86a2e5f8dab8b24639e8a9164f42bd554ba7728ab8cb5 755 bin/monitoring-update-config.php