blob: a2b7306a1cc0e1057685b22a1c62bc6615d2dfa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#function to tell user to run shell script to reinstall wxgtk and extract libwx*3.1.so* items from wxgtk-dev packages after installation/upgrade of freefilesync
reinstall_and_extract_message() {
echo -e "\n\n$(tput bold)$(tput setaf 7)$(tput setab 1)Run 'sudo sh /usr/bin/wxgtk_fix.sh' after this finishes"'!'"$(tput sgr 0)\n\n"
}
# send message after installation of freefilesync
post_install() {
reinstall_and_extract_message
}
# send message after upgrade of freefilesync
post_upgrade() {
reinstall_and_extract_message
}
# remove the libwx*3.1.so* files from /usr/lib/ and wxgtk_fix.sh from /usr/bin after removal of freefilesync
post_remove() {
rm /usr/lib/libwx*3.1.so*
rm /usr/bin/wxgtk_fix.sh
}
|