2018-08-12 22:31:12 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-08-13 07:50:54 +02:00
|
|
|
if [ "$QUTE_COUNT" -eq 5 ]; then
|
2018-08-12 22:31:12 +02:00
|
|
|
|
|
|
|
echo "message-info 'Count is five!'" >> "$QUTE_FIFO"
|
|
|
|
|
2018-08-12 22:39:32 +02:00
|
|
|
elif [ -z "$QUTE_COUNT" ]; then
|
2018-08-12 22:31:12 +02:00
|
|
|
|
|
|
|
echo "message-info 'No count!'" >> "$QUTE_FIFO"
|
|
|
|
|
|
|
|
fi
|