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