blob: 4445df18d853dd43e6a3d234a1560805b5b3c5d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
post_install() {
chmod +x /usr/bin/iicalc
pip3 install -r /usr/share/iicalc/requirements.txt
gcc -v 1> /dev/null 2> /dev/null
if [ "$?" == "0" ]
then
pip3 install python-Levenshtein
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"
}
|