~evergreen-bugs/evergreen/rel_3_11

« back to all changes in this revision

Viewing changes to Open-ILS/updates/download

  • Committer: phasefx
  • Date: 2010-08-24 19:04:20 UTC
  • Revision ID: git-v1:53a0bd89fe11176c309b6bcf7f812e3bb60b1283
Staff Client Build/Update Enhancements patch from Thomas Berezansky

Among other things, allows cross-compilation of Windows installers from Unix environments via NSIS, and enables Mozilla's upgrade mechanism for performing upgrades without needing to download and execute external files.

See https://bugs.launchpad.net/evergreen/+bug/616452/ for more details.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17330 dcc99617-32d9-48b4-a31d-7c20da2025e4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
FILENAME=$(basename "$PATH_INFO")
 
3
FILENAME=${FILENAME%.xpi}
 
4
if [ -n "$FILENAME" -a -f "./clients/$FILENAME.xpi" ]; then
 
5
echo "Content-Disposition: attachment"
 
6
echo ""
 
7
cat "./clients/$FILENAME.xpi"
 
8
else
 
9
echo ""
 
10
echo "?"
 
11
fi