update
This commit is contained in:
@@ -154,7 +154,7 @@ function checkfolder {
|
||||
# Check if folder already exists. If not, create it
|
||||
if [ -d $FOLDER ]; then
|
||||
read -p "Destination folder \"$FOLDER\" already exists. Should it be emptied? [y/N]: " YN
|
||||
if [ $YN == "y" ]; then
|
||||
if [ "$YN" == "y" ]; then
|
||||
rm -rf $FOLDER
|
||||
mkdir $FOLDER
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user