Fix delete dir condition
This commit is contained in:
parent
9322954e39
commit
3f5d32cffe
@ -48,11 +48,10 @@ for i in "${in_arr[@]}"; do
|
||||
PLUGIN_INCLUDE_STR="$PLUGIN_INCLUDE_STR -i $i"
|
||||
done
|
||||
|
||||
if [ -z "$PLUGIN_DELETE_DIR" ] && [ "$PLUGIN_DELETE_DIR" = true ]; then
|
||||
if [ "$PLUGIN_DELETE_DIR" = true ]; then
|
||||
PLUGIN_DELETE_DIR="rm -r $PLUGIN_DEST_DIR"
|
||||
else
|
||||
PLUGIN_DELETE_DIR=""
|
||||
echo "hi"
|
||||
fi
|
||||
|
||||
lftp -e "set xfer:log 1; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user