1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7 # This software is governed by the CeCILL-B license under French law and
8 # abiding by the rules of distribution of free software. You can use,
9 # modify and/ or redistribute the software under the terms of the CeCILL-B
10 # license as circulated by CEA, CNRS and INRIA at the following URL
11 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
12 # or in the file LICENSE.txt.
14 # As a counterpart to the access to the source code and rights to copy,
15 # modify and redistribute granted by the license, users are provided only
16 # with a limited warranty and the software's author, the holder of the
17 # economic rights, and the successive licensors have only limited
20 # The fact that you are presently reading this means that you have had
21 # knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------
30 # Set all local variables
31 source $PWD/scripts/CreaTools-configure.sh
36 # Maybe too much brute! (What if anything else starts with 'bb' or 'crea'?)
40 # WARNING : this list must be updated when new package is added
43 rm -f bbCreateBlackBox
48 rm -f bbPackageBrowser
50 rm -f bbPostInstallPackage
51 rm -f bbRegenerateBoxesLists
52 rm -f bbRegeneratePackageDoc
55 rm -f bbtk-install-gnome
56 rm -f bbtk-uninstall.sh
61 rm -f creaNewProject.sh
64 # Maybe too much brute! (What if anything else starts with 'bb' or 'crea'?)
68 # WARNING : this list must be updated when new package is added
73 rm -rf bbcreaMaracasVisu
89 rm -rf creaEnvironment
91 rm -rf creaMaracasVisu
94 # this one is riskless
99 # this one is riskless
101 rm -rf bbtk creaImageIO creaNewProject creaContours creaMaracasVisu
102 rm -f creatools_base_library_config.sh
105 #if [ ! -f /etc/bashrc ]
107 # export ETC_BASHRC="/etc/bash.bashrc"
109 # export ETC_BASHRC="/etc/bashrc"
111 # echo "revert $ETC_BASHRC to previous value"
112 # revert /etc/bashrc to previous value
113 # - remove line 'bash $installPrefix/creatools_install/share/creatools_base_party_libraries_config.sh'
114 #sed -i -e '/.*creatools_base_library_config.*/ d' $ETC_BASHRC
116 echo "revert $HOME/.bashrc to previous value"
117 sed -i -e '/.*creatools_base_library_config.*/ d' $HOME/.bashrc
122 # echo "==================================================="
125 # echo "YOU NEED TO RUN THIS ONE AS root"
126 # echo "==================================================="