]> git.proxmox.com Git - mirror_smartmontools-debian.git/blob - debian/10mail
Update to Standards-Version 3.9.5, no changes need
[mirror_smartmontools-debian.git] / debian / 10mail
1 #!/bin/bash -e
2
3 # Send mail if /usr/bin/mail exists
4 if ! [ -x /usr/bin/mail ]; then
5 echo "Your system does not have /usr/bin/mail. Install the mailx or mailutils package"
6 exit 1
7 fi
8
9 input=$1
10 shift
11
12 /usr/bin/mail "$@" < $input
13