summaryrefslogtreecommitdiff
path: root/sysutils/cd-write/pkg-install
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1997-12-02 22:36:46 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1997-12-02 22:36:46 +0000
commit742e50c8857a03c8c7813f4ae9fda480505dc692 (patch)
tree74fd06d17bb3486d50aac5b251f1353cb5e4feb9 /sysutils/cd-write/pkg-install
parentUpgrade to Website META Language, Version 1.4.4 (diff)
Print a warning if mkisofs is not installed.
PR: ports/4814
Notes
Notes: svn path=/head/; revision=8962
Diffstat (limited to 'sysutils/cd-write/pkg-install')
-rw-r--r--sysutils/cd-write/pkg-install18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/cd-write/pkg-install b/sysutils/cd-write/pkg-install
new file mode 100644
index 000000000000..992296d564ea
--- /dev/null
+++ b/sysutils/cd-write/pkg-install
@@ -0,0 +1,18 @@
+#!/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