#882: Remove directory-based image.

remotes/github/pjlink
Ramón M. Gómez 2018-12-03 09:40:47 +01:00
parent 3b8ef0d6e6
commit 01f4ee0ba0
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ for IMG in "$OGIMG/$1.$IMGEXT" "$OGIMG/$1.$IMGEXT.$DIFFEXT" "$OGIMG/$1"; do
if [ -r $IMG ] ; then if [ -r $IMG ] ; then
IMGPATH=$IMG IMGPATH=$IMG
echo "Borrando imagen $IMGPATH" echo "Borrando imagen $IMGPATH"
rm -f $IMGPATH{,.sum,.full.sum,.torrent} rm -fr $IMGPATH{,.sum,.full.sum,.torrent}
break break
fi fi
# Compruebo si existe copia de seguridad # Compruebo si existe copia de seguridad