summarylogtreecommitdiffstats
path: root/iicalc.install
blob: a69622e2f069d35c60e8582947cddaaa1136e82f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
	chmod +x /usr/bin/iicalc
	pip3 install -r /usr/share/iicalc/requirements.txt
	#if type xdg-mime > /dev/null; then
		#xdg-mime default iicalc.desktop x-scheme-handler/iicalc
	#fi
}

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"
}