summarylogtreecommitdiffstats
path: root/xx-net.install
diff options
context:
space:
mode:
authorlisuke2017-09-28 16:38:25 +0800
committerlisuke2017-09-28 16:38:25 +0800
commit52ee24d149ee69e73e1f9d4032f12658cf2bb157 (patch)
tree548a7475d1aa171faa57b4dd8f4551ab901bb11a /xx-net.install
downloadaur-52ee24d149ee69e73e1f9d4032f12658cf2bb157.tar.gz
first commit
Diffstat (limited to 'xx-net.install')
-rw-r--r--xx-net.install33
1 files changed, 33 insertions, 0 deletions
diff --git a/xx-net.install b/xx-net.install
new file mode 100644
index 000000000000..e431073203dd
--- /dev/null
+++ b/xx-net.install
@@ -0,0 +1,33 @@
+
+# arg 1: the new package version
+pre_install() {
+ echo pre_install $1
+}
+
+# arg 1: the new package version
+post_install() {
+ echo post_install $1
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_upgrade() {
+ echo pre_upgrade $1 to $2
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ echo post_upgrade $1 to $2
+}
+
+# arg 1: the old package version
+pre_remove() {
+ echo pre_remove $1
+}
+
+# arg 1: the old package version
+post_remove() {
+ echo post_remove $1
+ rm /opt/XX-net/ -rf
+}