summarylogtreecommitdiffstats
path: root/peazip.install
diff options
context:
space:
mode:
Diffstat (limited to 'peazip.install')
-rw-r--r--peazip.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/peazip.install b/peazip.install
new file mode 100644
index 000000000000..5576d72ee485
--- /dev/null
+++ b/peazip.install
@@ -0,0 +1,21 @@
+post_install() {
+ ln -sf "/opt/peazip/peazip" "/usr/bin/peazip"
+ update-desktop-database -q
+}
+
+post_package() {
+ post_install
+}
+
+post_upgrade() {
+ post_install
+}
+
+postmove() {
+ post_install
+}
+
+post_remove() {
+ rm -f /usr/bin/peazip
+ update-desktop-database -q
+}