create destinationn dir"

This commit is contained in:
Vincent Riquer 2010-08-31 14:47:25 +02:00
parent 004976ea55
commit 09587f0ea4

View File

@ -87,6 +87,11 @@ do
fi
fi
if [ ! -d "$SNAPSHOT_RW/$NAME" ]
then
mkdir -p "$SNAPSHOT_RW/$NAME"
fi
# rotating snapshots of /home (fixme: this should be more general)
# step 1: delete the oldest snapshot, if it exists: