Rozzipování souborů v notebooku

Cíl vymaže staré soubory (první instalaci je nutno udělat ručně) a rozbalí nové.

Poznámka: po instalaci je nutno explicitně změnit adresář, postačí cd ., jinak je Linux zblblý a leccos nefunguje. OS/2 takové problémy nemá.

<target name='unzip'
        description='Unzip the files into the notebook'>
  <fail if='primary.computer'
        message='This is the primary computer!'/>
  <input addproperty='unzip.response' validargs='yes,no,n'
>Unzip will first destroy the contents of all subdirectories.
Do you wish to continue?
  </input>
  <condition property='unzip.abort'>
    <not>
      <equals arg1='yes' arg2='${unzip.response}'/>
    </not>
  </condition>
  <fail if='unzip.abort' message='Unzip aborted'/>
  <delete includeEmptyDirs='true'>
    <fileset dir='.'/>
  </delete>
  <unzip src='../${zip.file}' dest='../' />
</target>