diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2018-12-03 09:40:47 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2018-12-03 09:40:47 +0100 |
commit | 01f4ee0ba0377b096c3c3ec2e47bd33755eb82c7 (patch) | |
tree | 2b9f57d03f15105057ebec08619558a630c3fb32 /repoman | |
parent | 3b8ef0d6e64fb2f540b8b44625d37c3ac58c2e04 (diff) |
#882: Remove directory-based image.
Diffstat (limited to 'repoman')
-rwxr-xr-x | repoman/bin/deleteimage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repoman/bin/deleteimage b/repoman/bin/deleteimage index 2da477e4..a683d541 100755 --- a/repoman/bin/deleteimage +++ b/repoman/bin/deleteimage @@ -15,7 +15,7 @@ #@version 1.0.6 - Detección automática del tipo de imagen. #@date 2014-10-29 #@author Ramón Gómez, ETSII Univ. Sevilla -#@version 1.1.0 - Aunque no exista imagen permite recuperar la copia. +#@version 1.1.0 - Aunque no exista imagen permite recuperar la copia. #@date 2016-10-14 #@author Irina Gómez, ETSII Univ. Sevilla #*/ ## @@ -60,7 +60,7 @@ for IMG in "$OGIMG/$1.$IMGEXT" "$OGIMG/$1.$IMGEXT.$DIFFEXT" "$OGIMG/$1"; do if [ -r $IMG ] ; then IMGPATH=$IMG echo "Borrando imagen $IMGPATH" - rm -f $IMGPATH{,.sum,.full.sum,.torrent} + rm -fr $IMGPATH{,.sum,.full.sum,.torrent} break fi # Compruebo si existe copia de seguridad |