Imported Debian patch 0.1.0+git20131207+e452e83-0ubuntu12
[deb_libhybris.git] / debian / libhybris.prerm.in
diff --git a/debian/libhybris.prerm.in b/debian/libhybris.prerm.in
new file mode 100644 (file)
index 0000000..16d94e5
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# Copyright (C) 2007 Mario Limonciello
+# Copyright (C) 2009-2011 Canonical Ltd.
+
+set -e
+
+PACKAGE_NAME=#DRIVERNAME#
+
+case "$1" in
+       remove)
+               update-alternatives --remove #DEB_HOST_MULTIARCH#_egl_conf /#LDSOCONF#
+
+               # explicit ldconfig due to alternatives
+               LDCONFIG_NOTRIGGER=y ldconfig
+       ;;
+esac
+
+#DEBHELPER#