summaryrefslogtreecommitdiff
path: root/pcr/modglue/modglue.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-02 13:09:58 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-02 16:35:28 -0300
commit314ca5ef60d9d64ed8a66f4e7315434bc7dc0288 (patch)
tree11df59a42f237ff98cd037fb93eec46de5753f6e /pcr/modglue/modglue.install
parent02cd0afb4dfe0e9772a95e4c2515578fcbe6bf69 (diff)
downloadabslibre-314ca5ef60d9d64ed8a66f4e7315434bc7dc0288.tar.gz
abslibre-314ca5ef60d9d64ed8a66f4e7315434bc7dc0288.tar.bz2
abslibre-314ca5ef60d9d64ed8a66f4e7315434bc7dc0288.zip
modglue: add new package to [pcr]
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 $*