From 7ddd62e109fce6958566223c4c4890d6c1c4dfed Mon Sep 17 00:00:00 2001 From: m3tam3re Date: Fri, 11 Apr 2025 11:13:26 +0200 Subject: [PATCH] +hostname setting --- update.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/update.sh b/update.sh index 3a0d13f..fa4f1c9 100644 --- a/update.sh +++ b/update.sh @@ -87,13 +87,6 @@ perform_update() { local target_version=$1 local backup_dir=$2 - # Ensure we're in the correct directory - local current_dir=$(basename "$(pwd)") - if [ "$current_dir" != "self-host-playbook" ]; then - echo "❌ Error: Must be in 'self-host-playbook' directory" - return 1 - fi - # Verify essential files exist before proceeding if [ ! -f "config.json" ] || [ ! -d "env" ]; then echo "❌ Error: Essential files missing. Are you in the correct directory?"