Clean and refresh web root
This commit is contained in:
parent
a901918bf0
commit
a92185727d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue