Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: ensure data dir exists before writing update log

Adam Eivydeefee325c5f
diff --git a/scripts/portos-update.sh b/scripts/portos-update.sh
index 775eed7ea7..8b067ef59d 100755
--- a/scripts/portos-update.sh
+++ b/scripts/portos-update.sh
@@ -9,6 +9,7 @@ set -euo pipefail
TAG="${1:?Usage: portos-update.sh <tag>}"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
+mkdir -p "$ROOT_DIR/data"
LOG_FILE="$ROOT_DIR/data/update.log"
cd "$ROOT_DIR"