Clean and refresh web root

This commit is contained in:
Ryan Whytsell 2025-10-21 19:47:47 -04:00
parent a901918bf0
commit a92185727d
Signed by: Epithium
GPG Key ID: 940AC18C08E925EA
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@ BLUE='\033[0;34m'
NC='\033[0m' # No Color
# Script directory
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
WEB_ROOT="/var/www/vidrip"
SCRIPT_DIR="$WEB_ROOT"
rm -rf "$WEB_ROOT/*"
cp ./* "$WEB_ROOT"
cd "$SCRIPT_DIR"
# Configuration