atomsInstall: reinstalling a formerly installed and uninstalled module fails. Missing unzip overwrite option while the former archive already exists
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
Install a module. First time is OK. Its archive is kept in SCI\contrib..
Uninstall it. Its archive is still kept (OK).
Re-install it => fail
See http://mailinglists.scilab.org/Enseignement-Bug-lors-du-chargement-du-module-SIMM-tp4032375p4032390.html
FIX:
---
In SCI\modules\atoms\macros\atoms_internals\atomsExtract.sci, line #72: add the "-o" option to the unzip command (for overwriting).
Fix tested. OK.
ERROR LOG:
----------
-->atomsInstall coselica
atomsExtract : L'extraction de l'archive 'C:\LOGICI~1\scilab\SCILAB~1.2-2\contrib\coselica\coselica_0.6.4-0.bin.zip' a échoué.
!--error 10000
at line 51 of function atomsError called by :
at line 82 of function atomsExtract called by :
at line 318 of function atomsInstall called by :
atomsInstall coselica
OTHER INFORMATION:
------------------
Windows only. By default , the tar command for other OSes overwrites the destination file.