
|
84782 packages online
|
|
 |
|
dev/misc/GetVersion.lha |
|
No screenshot available
|
|
Improved INSTALLER version checking procedure (23.10.97), V1.1
--------------------------------------------------------------
(C) 1997 by Andreas R. Kleinert (Andreas_Kleinert@t-online.de)
Freeware. Feel free to add it to your own installer scripts!
As discussed on the DTA mailing list before, Installer's getversion()
procedure is somewhat buggy. So I have written a builtin replacement
using the Installer's lisp-like language to call C:Version and parse
its output.
Feel free to use and include with your own scripts.
Still missing is a cmpversion() procedure, which takes two file names and
does compare the versions by itself (e.g. to return #CMPVER=1 for f1 > f2
and #CMPVER=2 for f1 < f2). Maybe that'll follow.
--
ARK
|
Contents of dev/misc/GetVersion.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 476 890 53.5% -lh5- 4263 Oct 23 1997 newgetversion/GetVersion.readme
[generic] 624 1814 34.4% -lh5- 89af Oct 23 1997 newgetversion/newgetver.installer
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 2 files 1100 2704 40.7% Oct 24 1997
|
|
|
 |
Page generated in 0.01 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |