Changeset 22032
- Timestamp:
- 2010-05-04T16:14:12+12:00 (14 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/mkcol.pl
r21301 r22032 103 103 { 'name' => "about", 104 104 'desc' => "{mkcol.about}", 105 'type' => "string", 106 'reqd' => "no" }, 107 { 'name' => "buildtype", 108 'desc' => "{mkcol.buildtype}", 109 'type' => "string", 110 'reqd' => "no" }, 111 { 'name' => "infodbtype", 112 'desc' => "{mkcol.infodbtype}", 105 113 'type' => "string", 106 114 'reqd' => "no" }, … … 141 149 # options 142 150 my ($creator, $optionfile, $maintainer, $gs3mode, $group, $collectdir, $site, 143 $public, 144 $ title, $about, $plugin, $quiet, $language, $win31compat, $gli);151 $public, $title, $about, $buildtype, $infodbtype, $plugin, $quiet, 152 $language, $win31compat, $gli); 145 153 146 154 #other variables … … 233 241 $line =~ s/\*\*title\*\*/$title/g; 234 242 $line =~ s/\*\*about\*\*/$about/g; 243 $line =~ s/\*\*buildtype\*\*/$buildtype/g; 244 $line =~ s/\*\*infodbtype\*\*/$infodbtype/g; 235 245 if (!$gs3mode) { 236 246 $line =~ s/\*\*plugins\*\*/$pluginstring/g; … … 362 372 363 373 $public = "true" unless defined $public; 374 375 $buildtype = "mgpp" unless defined $buildtype; 376 $infodbtype = "gdbm" unless defined $infodbtype; 377 364 378 365 379 if (!defined($title) || $title eq "") { -
main/trunk/greenstone2/collect/modelcol/etc/collect.cfg
r20871 r22032 3 3 public **public** 4 4 5 buildtype mgpp 5 buildtype **buildtype** 6 infodbtype **infodbtype** 6 7 7 8 indexes text dc.Title,ex.Title Source -
main/trunk/greenstone2/perllib/strings.properties
r21800 r22032 400 400 mkcol.about:The about text for the collection. 401 401 402 mkcol.buildtype:The 'buildtype' for the collection (e.g. mg, mgpp, lucene) 403 404 mkcol.infodbtype:The 'infodbtype' for the collection (e.g. gdbm, jdbm, sqlite) 405 402 406 mkcol.bad_name_cvs:ERROR: No collection can be named CVS as this may interfere with directories created by the CVS versioning system. 403 407
Note:
See TracChangeset
for help on using the changeset viewer.