summaryrefslogtreecommitdiffstats
path: root/repoman
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-01-16 13:50:38 +0100
committerRamón M. Gómez <ramongomez@us.es>2019-01-16 13:50:38 +0100
commitd83d715e363f72779adaa3a3829548bb954243ce (patch)
tree5965ad550a78fe9bf05356df88232a8864b34b58 /repoman
parent23b34416176c840feef01df3755429add4d92e93 (diff)
#872: Adapting commits 01f4ee0, b411a0f, 2dd6a85, c616aa6 from devel branch.
Diffstat (limited to 'repoman')
-rwxr-xr-xrepoman/bin/deleteimage4
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