LP#1442701: prune 'message_id' and 'single' CGI params from TPAC dashboard links
[working/Evergreen.git] / Open-ILS / updates / download
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