summarylogtreecommitdiffstats
path: root/iicalc.install
diff options
context:
space:
mode:
authorTabulateJarl82020-11-05 13:52:11 -0500
committerTabulateJarl82020-11-05 13:52:11 -0500
commite691602aee4eddc44a84e59a17a0498dcefdeef6 (patch)
tree8b0644fdc41506a8f0b82a0033f5c5e383665d73 /iicalc.install
downloadaur-e691602aee4eddc44a84e59a17a0498dcefdeef6.tar.gz
release
Diffstat (limited to 'iicalc.install')
-rw-r--r--iicalc.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/iicalc.install b/iicalc.install
new file mode 100644
index 000000000000..b10006040bac
--- /dev/null
+++ b/iicalc.install
@@ -0,0 +1,12 @@
+post_install() {
+ chmod +x /usr/bin/iicalc
+ pip3 install -r /usr/share/iicalc/requirements.txt
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ echo -e "\033[38;5;11mWarning: Removing ImaginaryInfinity Calculator does not remove the .iicalc folder in your home directory. If you want to run the portable version of ImaginaryInfinity Calculator again, you will have to delete it.\033[m"
+}