Clean and refresh web root
This commit is contained in:
parent
752f9054c2
commit
2d669ffac6
|
|
@ -45,6 +45,9 @@ NC='\033[0m' # No Color
|
||||||
# Script directory
|
# Script directory
|
||||||
WEB_ROOT="/var/www/vidrip"
|
WEB_ROOT="/var/www/vidrip"
|
||||||
SCRIPT_DIR="$WEB_ROOT"
|
SCRIPT_DIR="$WEB_ROOT"
|
||||||
|
|
||||||
|
rm -rf "$WEB_ROOT/*"
|
||||||
|
cp ./* "$WEB_ROOT"
|
||||||
cd "$SCRIPT_DIR"
|
cd "$SCRIPT_DIR"
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue