Changeset 9475


Ignore:
Timestamp:
2005-03-21T16:15:28+12:00 (19 years ago)
Author:
kjdon
Message:

changed the organisation of the collections: metadata.zip and archives.zip are now at top level, not inside the sub dir

Location:
trunk/gsdl3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/gs3-install.bat

    r9069 r9475  
    104104cd gs2mgdemo
    105105"%GSDL3HOME%\winutil\7zip.exe" x import.zip
     106"%GSDL3HOME%\winutil\7zip.exe" x metadata.zip
    106107cd index
    107108"%GSDL3HOME%\winutil\7zip.exe" x index.zip
    108 cd ..
    109 cd metadata
    110 "%GSDL3HOME%\winutil\7zip.exe" x metadata.zip
    111109cd ..\..
    112110
     
    114112cd gs2mgppdemo
    115113"%GSDL3HOME%\winutil\7zip.exe" x import.zip
     114"%GSDL3HOME%\winutil\7zip.exe" x metadata.zip
    116115cd index
    117116"%GSDL3HOME%\winutil\7zip.exe" x index.zip
    118 cd ..
    119 cd metadata
    120 "%GSDL3HOME%\winutil\7zip.exe" x metadata.zip
    121117cd ..\..
    122118
    123119:: GS3 MG demo
    124120cd gs3mgdemo
    125 cd archives
     121"%GSDL3HOME%\winutil\7zip.exe" x import.zip
    126122"%GSDL3HOME%\winutil\7zip.exe" x archives.zip
    127 cd ..
    128 "%GSDL3HOME%\winutil\7zip.exe" x import.zip
    129123cd index
    130124"%GSDL3HOME%\winutil\7zip.exe" x index.zip
  • trunk/gsdl3/gs3-install.sh

    r9013 r9475  
    214214    unzip import.zip
    215215  fi
     216  if test -f archives.zip; then
     217      unzip archives.zip
     218  fi
     219  if test -f metadata.zip; then
     220      unzip metadata.zip
     221  fi
    216222  cd ../
    217 done
    218 
    219 for f in */metadata; do
    220   cd $f
    221   if test -f metadata.zip; then
    222     unzip metadata.zip
    223   fi
    224   cd ../../
    225 done
    226 
    227 for f in */archives; do
    228   cd $f
    229   if test -f archives.zip; then
    230     unzip archives.zip
    231   fi
    232   cd ../../
    233223done
    234224
Note: See TracChangeset for help on using the changeset viewer.