summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorCharles Plessy <plessy@debian.org>2012-08-13 08:58:49 +0900
committerJoey Hess <joey@kitenet.net>2012-08-27 11:51:58 -0400
commitce2b461ee2784fd5fbaae991d6846c7f1d69c73a (patch)
treee23f3c0285b46961bd1a96a4470b79e25cedc1a4 /autoscripts
parent18a0da8092ea9f3dc48bca92b36f592af25a608d (diff)
Do not call update-mime and update-mime-database in maint. scripts as they are triggered.
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postinst-mime3
-rw-r--r--autoscripts/postinst-sharedmimeinfo3
-rw-r--r--autoscripts/postrm-mime1
-rw-r--r--autoscripts/postrm-sharedmimeinfo3
4 files changed, 0 insertions, 10 deletions
diff --git a/autoscripts/postinst-mime b/autoscripts/postinst-mime
deleted file mode 100644
index 3749fc9d..00000000
--- a/autoscripts/postinst-mime
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
- update-mime
-fi
diff --git a/autoscripts/postinst-sharedmimeinfo b/autoscripts/postinst-sharedmimeinfo
deleted file mode 100644
index aa6333fb..00000000
--- a/autoscripts/postinst-sharedmimeinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
- update-mime-database /usr/share/mime
-fi
diff --git a/autoscripts/postrm-mime b/autoscripts/postrm-mime
deleted file mode 100644
index a9404112..00000000
--- a/autoscripts/postrm-mime
+++ /dev/null
@@ -1 +0,0 @@
-if which update-mime >/dev/null 2>&1; then update-mime; fi
diff --git a/autoscripts/postrm-sharedmimeinfo b/autoscripts/postrm-sharedmimeinfo
deleted file mode 100644
index 917fd49a..00000000
--- a/autoscripts/postrm-sharedmimeinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x "`which update-mime-database 2>/dev/null`" ]; then
- update-mime-database /usr/share/mime
-fi