Subversion Repositories SvarDOS

Rev

Rev 1967 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
247 mateuszvis 1
#
272 mateuszvis 2
# PKG language file
247 mateuszvis 3
#
723 bttr 4
# Language....: English
5
# Author......: Mateusz Viste
1967 mateusz.vi 6
# Last updated: 23 Aug 2024
247 mateuszvis 7
#
8
 
9
#### Help ####
10
 
723 bttr 11
1.0:PKG is the SvarDOS package manager.
1958 mateusz.vi 12
1.19:Usage:
1962 mateusz.vi 13
1.20:pkg install package[.svp]   installs package
14
1.21:pkg update package[.svp]    updates (or reinstalls) package
15
1.22:pkg rm package              uninstalls package
16
1.23:pkg files package           lists files belonging to package
17
1.24:pkg list [filter]           lists installed packages
1967 mateusz.vi 18
1.25:pkg check [package]         checks integrity of installed executable files
19
1.26:pkg check+ [package]        same as above but checks ALL installed files
1962 mateusz.vi 20
1.27:pkg unzip file.zip          unzips a ZIP archive
21
1.28:pkg crc32 file              computes the CRC32 of a file
22
1.29:pkg ziplist file.zip        lists the files inside a ZIP archive
1682 mateusz.vi 23
1.40:PKG is published under the MIT license.
1931 mateusz.vi 24
1.41:It is configured through %DOSDIR%\\PKG.CFG
247 mateuszvis 25
 
26
### General stuff ####
27
 
273 mateuszvis 28
2.2:%DOSDIR% not set! You should make it point to the SvarDOS main directory.
704 mateusz.vi 29
2.3:Example: SET DOSDIR=C:\\SVARDOS
1965 mateusz.vi 30
2.14:Out of memory!
247 mateuszvis 31
 
32
#### Installing package ####
33
 
272 mateuszvis 34
3.8:ERROR: Invalid zip archive! Package not installed.
35
3.9:ERROR: Package contains a file that already exists locally:
36
3.10:ERROR: Could not create %s!
1880 mateusz.vi 37
3.12:ERROR: This is not a valid SvarDOS package
1116 mateusz.vi 38
3.18:Package %s already installed! You may want to use the 'update' action.
1711 bttr 39
3.19:Package %s installed: %ld errors, %ld files extracted.
272 mateuszvis 40
3.20:ERROR: Package contains an encrypted file:
41
3.23:ERROR: Package contains an invalid filename:
261 mateuszvis 42
3.24:ERROR: package name too long
247 mateuszvis 43
 
44
#### Removing package ####
45
 
46
4.0:Package %s is not installed, so not removed.
1965 mateusz.vi 47
4.4:removing
247 mateuszvis 48
4.5:Package %s has been removed.
49
 
50
#### Searching package ####
51
 
52
5.0:No package matched the search.
53
 
54
#### Loading configuration ####
55
 
272 mateuszvis 56
7.0:ERROR: custom dir '%s' is listed twice!
57
7.1:ERROR: Could not open config file '%s'!
247 mateuszvis 58
7.4:Warning: token with empty value on line #%d
1892 mateusz.vi 59
7.5:Warning: Invalid bootdrive on line #%d
247 mateuszvis 60
7.8:Warning: Unknown token '%s' at line #%d
61
7.11:Warning: Invalid 'DIR' directive found at line #%d
1965 mateusz.vi 62
7.15:ERROR: invalid custom dir:
1931 mateusz.vi 63
7.17:ERROR: PKG.CFG found at %s
64
7.18:       Please move it to %DOSDIR%\\PKG.CFG
247 mateuszvis 65
 
66
#### Unziping package ####
67
 
1965 mateusz.vi 68
8.2:ERROR: Package contains a file compressed with an unsupported method:
247 mateuszvis 69
 
70
#### Handling the local list of installed packages ####
71
 
1965 mateusz.vi 72
9.0:ERROR: Could not access directory:
275 mateuszvis 73
9.1:ERROR: Local package '%s' not found
296 mateuszvis 74
 
1968 mateusz.vi 75
#### Unzip ####
296 mateuszvis 76
 
77
10.0:OK
1800 mateusz.vi 78
10.1:ERROR: File not found
296 mateuszvis 79
10.2:ERROR: Invalid ZIP archive
80
10.3:ERROR: File already exists
81
10.4:ERROR: unzip failure (%d)
1968 mateusz.vi 82
 
83
#### Health check ####
84
 
85
11.0:BAD CRC
86
11.1:MISSING
87
11.2:%u error(s).