summaryrefslogtreecommitdiff
path: root/pcr/modglue/modglue.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/modglue/modglue.install')
-rw-r--r--pcr/modglue/modglue.install35
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/modglue/modglue.install b/pcr/modglue/modglue.install
new file mode 100644
index 000000000..55b1b3e9c
--- /dev/null
+++ b/pcr/modglue/modglue.install
@@ -0,0 +1,35 @@
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ ldconfig
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_upgrade() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+op=$1
+shift
+$op $*