Mercurial > ec-dotfiles
diff moefetch.sh @ 188:9bf4eabbf0a9
whut
author | edhoprima@gmail.com <edhoprima@gmail.com> |
---|---|
date | Sun, 28 Jun 2009 13:59:19 +0000 |
parents | efd957294c8c |
children | 04841244beae |
line wrap: on
line diff
--- a/moefetch.sh Sun Jun 28 13:57:18 2009 +0000 +++ b/moefetch.sh Sun Jun 28 13:59:19 2009 +0000 @@ -151,6 +151,7 @@ # THE FILES # current dir: ${BASE_DIR}/${SITE_DIR}/${TARGET_DIR} + echo "Cleaning up repository folder..." TRASH_DIR="${SITE_DIR}-${TARGET_DIR}-`date -u +%Y%m%d-%H.%M`" mkdir -p "${BASE_DIR}/trash/${TRASH_DIR}" || Err_Fatal "Unable to create trash folder" for TRASH in "${BASE_DIR}/${SITE_DIR}/${TARGET_DIR}/*"