summaryrefslogtreecommitdiff
path: root/debian/cpp.prerm
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-09 12:42:08 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-09 12:42:08 +0300
commit781434cd4f3b1be60b117ae61babaf60f4a9e563 (patch)
tree092486dd2ad6dc75d28590f63357eb64790eafb5 /debian/cpp.prerm
downloadgcc-defaults-781434cd4f3b1be60b117ae61babaf60f4a9e563.tar.gz
Imported 1.168debian/1.168
Diffstat (limited to 'debian/cpp.prerm')
-rw-r--r--debian/cpp.prerm9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/cpp.prerm b/debian/cpp.prerm
new file mode 100644
index 0000000..f3758f8
--- /dev/null
+++ b/debian/cpp.prerm
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" != upgrade ]; then
+ update-alternatives --quiet --remove cpp /usr/bin/cpp
+fi
+
+#DEBHELPER#