summarylogtreecommitdiffstats
path: root/agisoft-viewer.install
diff options
context:
space:
mode:
authordobedobedo2022-01-05 13:11:35 +0300
committerdobedobedo2022-01-05 13:11:35 +0300
commitdee5e5bb56f5fd0193518c9c86d95b48df7b41bb (patch)
tree391254672a316178f67b2512e4bde953b7e33da3 /agisoft-viewer.install
parentcfd8cd4bb544153fcd6916c3bb87dc43b2441c69 (diff)
downloadaur-dee5e5bb56f5fd0193518c9c86d95b48df7b41bb.tar.gz
Add install script
Diffstat (limited to 'agisoft-viewer.install')
-rw-r--r--agisoft-viewer.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/agisoft-viewer.install b/agisoft-viewer.install
new file mode 100644
index 000000000000..9881d3f39a0b
--- /dev/null
+++ b/agisoft-viewer.install
@@ -0,0 +1,17 @@
+post_install() {
+ # Display the name of executable
+ echo
+ echo "The launcher is called agisoft-viewer"
+ echo
+}
+
+post_remove() {
+ rm -rf /opt/agisoft/viewer
+ rm -d /opt/agisoft 2>/dev/null
+ echo
+ echo "The users data were kept at the below locations"
+ echo "\$HOME/.agisoft"
+ echo "\$HOME/.config/Agisoft"
+ echo "\$HOME/.local/share/Agisoft"
+ echo
+}