Fix -wipe not wiping hidden files.
This commit is contained in:
parent
f14e148307
commit
3b4b1d67da
1 changed files with 2 additions and 1 deletions
|
@ -1084,10 +1084,11 @@ fi
|
|||
if [[ ( $2 == "-wipe" || $2 == "-w" ) ]]; then VCMD="y"
|
||||
log_blue "[INPUT] You are about to wipe all of your extension files, are you sure you want to continue? This cannot be undone. (y/N)"
|
||||
read YN
|
||||
if [[ ( $YN == "n"* ) || ( $YN == "N"* ) || ( $YN == "" ) ]]; then log_bright "[INFO] Development files removal cancelled.";exit 1;fi
|
||||
if [[ ( ( $YN != "y"* ) && ( $YN != "Y"* ) ) || ( ( $YN == "" ) ) ]]; then log_bright "[INFO] Development files removal cancelled.";exit 1;fi
|
||||
|
||||
log_bright "[INFO] Wiping development folder.."
|
||||
rm -R .blueprint/dev/*
|
||||
rm -R .blueprint/dev/.*
|
||||
|
||||
log_green "[SUCCESS] Your development files have been removed."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue