diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-08-05 19:54:28 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-08-05 19:54:28 -0500 |
commit | 672cc3e20840f7cc8d60f5ee9c0f7b24b6fe6c7d (patch) | |
tree | 2d3b568df1ed358d43e3924a263a1c9ec5da38b3 /pcr/freefilesync/freefilesync.install | |
parent | 07ab2bc9d1b9970e2d009cebf0c586643e59d0ef (diff) | |
download | abslibre-672cc3e20840f7cc8d60f5ee9c0f7b24b6fe6c7d.tar.gz abslibre-672cc3e20840f7cc8d60f5ee9c0f7b24b6fe6c7d.tar.bz2 abslibre-672cc3e20840f7cc8d60f5ee9c0f7b24b6fe6c7d.zip |
freefilesync-10.2-1: updating version
Diffstat (limited to 'pcr/freefilesync/freefilesync.install')
-rw-r--r-- | pcr/freefilesync/freefilesync.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/freefilesync/freefilesync.install b/pcr/freefilesync/freefilesync.install new file mode 100644 index 000000000..a2b7306a1 --- /dev/null +++ b/pcr/freefilesync/freefilesync.install @@ -0,0 +1,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 +}
\ No newline at end of file |