+hostname setting

This commit is contained in:
m3tam3re 2025-04-11 11:13:26 +02:00
parent bd65c6d705
commit 7ddd62e109

View File

@ -87,13 +87,6 @@ perform_update() {
local target_version=$1 local target_version=$1
local backup_dir=$2 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 # Verify essential files exist before proceeding
if [ ! -f "config.json" ] || [ ! -d "env" ]; then if [ ! -f "config.json" ] || [ ! -d "env" ]; then
echo "❌ Error: Essential files missing. Are you in the correct directory?" echo "❌ Error: Essential files missing. Are you in the correct directory?"