parent
b85da0e3d3
commit
942defa68b
1 changed files with 3 additions and 1 deletions
|
@ -6,9 +6,11 @@ PIZZAUSER=$(whoami)
|
|||
PIZZAART=
|
||||
PIZZARCV=
|
||||
PIZZASEND=
|
||||
PIZZAVERSION="v1.0.0"
|
||||
|
||||
help() {
|
||||
echo "pizza - sent small ASCII-Icons by Mail"
|
||||
echo "this is pizza ${PIZZAVERSION}"
|
||||
echo "--------------------------------------"
|
||||
echo "Usage: -p Send a pizza (default)"
|
||||
echo " -l Send a heart"
|
||||
|
@ -70,4 +72,4 @@ if [ ! $PIZZARCV ]; then
|
|||
fi
|
||||
|
||||
mail -s "${PIZZAUSER} sent you a ${PIZZAART} on ${PIZZAHOST}!" -S from=${PIZZASEND} ${PIZZARCV} < "${PIZZAINC}/${PIZZAART}"
|
||||
exit 0
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue