Update to Laragon Portable 3.3

This commit is contained in:
Khoa Le
2018-07-18 11:22:49 +07:00
parent b40d0b0fea
commit 2b3a15d000
614 changed files with 204871 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
#Fake sendmail script, adapted from:
#https://github.com/mrded/MNPP/blob/ee64fb2a88efc70ba523b78e9ce61f9f1ed3b4a9/init/fake-sendmail.sh
#Create a temp folder to put messages in
numPath="${TMPDIR-/tmp/}fakemail"
umask 037
mkdir -p $numPath
if [ ! -f $numPath/num ]; then
echo "0" > $numPath/num
fi
num=`cat $numPath/num`
num=$(($num + 1))
echo $num > $numPath/num
name="$numPath/message_$num.eml"
while read line
do
echo $line >> $name
done
exit 0