summaryrefslogtreecommitdiff
path: root/setup/Linux/postrm
diff options
context:
space:
mode:
Diffstat (limited to 'setup/Linux/postrm')
-rw-r--r--setup/Linux/postrm6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup/Linux/postrm b/setup/Linux/postrm
new file mode 100644
index 0000000..620f8e2
--- /dev/null
+++ b/setup/Linux/postrm
@@ -0,0 +1,6 @@
+#!/bin/sh
+OSSLIBDIR=/usr/lib/oss
+if [ -e /etc/oss.conf ]; then . /etc/oss.conf; fi
+if [ -e /tmp/OSS_UPGRADE ]; then echo "Upgrading OSS - will not purge $OSSLIBDIR."; else rm -rf "$OSSLIBDIR"/*; fi
+rm -f /usr/lib/libflashsupport.so
+if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus; fi