Blob
Date:
Sat Aug 27 08:45:02 2022 UTC
Message:
chmod a+r the exported parts so they can be served
#!/bin/sh
path="$(cd $OUTDIR && mktemp parts/$MESSAGE_ID.XXXXXXXXXX)"
# save the input
cat > "$OUTDIR/$path"
chmod a+r "$OUTDIR/$path"
echo "<li><a href='/$path'>$(file -b "$OUTDIR/$path")</a></li>" >> $PARTS_PATH
exit 0
Omar Polo