summarylogtreecommitdiffstats
path: root/alfaview.install
diff options
context:
space:
mode:
Diffstat (limited to 'alfaview.install')
-rw-r--r--alfaview.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/alfaview.install b/alfaview.install
new file mode 100644
index 000000000000..c05170c096d2
--- /dev/null
+++ b/alfaview.install
@@ -0,0 +1,9 @@
+post_upgrade() {
+ printf "$(tput bold)$(tput setaf 3)IMPORTANT: MIME types are NOT registered automatically$(tput sgr0)\n"
+ printf "$(tput bold)$(tput setaf 3)postinst from debian package: $(tput sgr0)\n"
+ printf "$(tput bold)$(tput setaf 3)xdg-mime default /usr/share/applications/alfaview.desktop x-scheme-handler/alfaview\nxdg-mime default /usr/share/applications/alfaview.desktop x-scheme-handler/alfatraining$(tput sgr0)\n"
+}
+
+post_install() {
+ post_upgrade
+}