#!/usr/bin/env bash set -euo pipefail # Removes the ds-nav branding block from the project page sidebar component. # Usage: bash 3_remove_branding_from_projectpage.sh TARGET="../../services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx" BACKUP="$TARGET.bak" if [ ! -f "$TARGET" ]; then echo "ERROR: target file not found: $TARGET" exit 1 fi echo "Creating backup: $BACKUP" cp -a "$TARGET" "$BACKUP" # Use Perl to remove the