freebsd-ports/sysutils/cd-write/pkg-install
Jean-Marc Zucconi 742e50c885 Print a warning if mkisofs is not installed.
PR:		ports/4814
1997-12-02 22:36:46 +00:00

18 lines
424 B
Bash

#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
if [ -e ${PREFIX}/bin/mkisofs ]; then
exit 0
fi
cat <<EOF
*********************** Warning ***********************
It seems that mkisofs is not installed on your system.
You will only be able to burn audio disks or to copy
data disks.
Mkisofs is required if you want to create a filesystem
image.
*******************************************************
EOF
exit 0