summaryrefslogtreecommitdiffstats
path: root/misc/fileinfo/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fileinfo/doinst.sh')
-rw-r--r--misc/fileinfo/doinst.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/misc/fileinfo/doinst.sh b/misc/fileinfo/doinst.sh
deleted file mode 100644
index 6e75204a61..0000000000
--- a/misc/fileinfo/doinst.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-# Use the magic mime file from Apache as the mime database
-if [ -a /etc/httpd/magic ]; then
- ln -s /etc/httpd/magic /etc/magic.mime
-else
- cat << EOF
-
- This extension requires a MIME database /etc/magic.mime. You can
- symlink to the one included with Apache with the following command
-
- # ln -s /etc/httpd/magic /etc/magic.mime
-EOF
-fi
-
-if ! grep ^extension=fileinfo.so /etc/httpd/php.ini 2>&1 > /dev/null; then
- cat << EOF
-
- Add the following line to the /etc/httpd/php.ini configuration
- file in order to enable this extension
-
- extension=fileinfo.so
-EOF
-fi