summarylogtreecommitdiffstats
path: root/r.install
diff options
context:
space:
mode:
Diffstat (limited to 'r.install')
-rw-r--r--r.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/r.install b/r.install
new file mode 100644
index 000000000000..522ce52e7b1f
--- /dev/null
+++ b/r.install
@@ -0,0 +1,16 @@
+post_install() {
+ update-desktop-database -q
+ if [[ -x /usr/bin/mktexlsr ]]; then
+ echo ">>> updating the filename database for texlive..."
+ mktexlsr --quiet usr/share/texmf
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+