Blob


1 #!/bin/sh
3 path="$(cd $OUTDIR && mktemp parts/$MESSAGE_ID.XXXXXXXXXX)"
5 # save the input
6 cat > "$OUTDIR/$path"
7 chmod a+r "$OUTDIR/$path"
9 echo "<li><a href='/$path'>$(file -b "$OUTDIR/$path")</a></li>" >> $PARTS_PATH
10 exit 0