Project

General

Profile

Anomalie #2137

Query-Auto : non suppression des fichiers temporaires s'il y a des mises à jour

Added by Emmanuel GARETTE (2) over 11 years ago. Updated over 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
10/01/2011
Due date:
% Done:

100%

Spent time:
Distribution:
EOLE 2.3

Description

Si on lance Query-Auto et qu'il y a des mises à jour, les fichiers temporaires restent présents (cela ne se produit pas s'il n'y a plus de mise à jour).

Ce patch supprime les fichiers temporaires :

--- Maj-Auto    2011-10-01 15:56:23.000000000 +0200
+++ /usr/bin/Maj-Auto    2011-10-01 15:56:29.000000000 +0200
@@ -541,6 +541,7 @@
     fi
     echo
     if [ $TypeProc == "QUERY-MAJ" ];then
+        rm -f $tempfile $tempfilesort $tempaptlog
         demonter_cdrom
         exit 0
     fi

Associated revisions

Revision 0ae24770 (diff)
Added by Joël Cuissinat over 11 years ago

Query-Auto : suppression des fichiers temporaires (fixes #2137)

History

#1 Updated by Joël Cuissinat over 11 years ago

  • Target version set to Mises à jour 2.3 - 02 RC

#2 Updated by Joël Cuissinat over 11 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat over 11 years ago

  • Status changed from Résolu to Fermé
  • Distribution set to EOLE 2.3

Testé avec et sans Maj => pas de fichiers dans /tmp à la fin ;)

Also available in: Atom PDF