summarylogtreecommitdiffstats
path: root/iicalc.install
diff options
context:
space:
mode:
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"
+}