diff --git a/update/update-manager.cpp b/update/update-manager.cpp index 0310653..e49db22 100644 --- a/update/update-manager.cpp +++ b/update/update-manager.cpp @@ -553,7 +553,7 @@ QString UpdateManager::stagedInstallScript() { " cp \"$1\" \"$TMP\"\n" " mv -f \"$TMP\" \"$2\"\n" "}\n" - "mkdir -p \"$BIN_DIR\"\n" + "mkdir -p \"$BIN_DIR\" || { echo 'Impossible de créer '$BIN_DIR; exit 1; }\n" "install_file \"$STAGE/bin/PacManager\" \"$BIN_DIR/PacManager\"\n" // The version marker has to follow the installed release: it is what // the app reports and what the next update check compares against, so