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