1 echo "****** WARNING : THIS IS A BRUTE FORCE **UNSAFE** UNINSTALLER ******"
2 echo "****** WILL REMOVE ALL FILES AND FOLDERS STARTING WITH bb ******"
4 TMP=$(which bbtk-uninstall.sh|rev)
5 TMP2=$(echo ${TMP#*/}|rev)
8 echo "****** IN : ${PREFIX}/bin/"
10 echo " ${PREFIX}/include/"
11 echo " ${PREFIX}/share/bbtk"
12 echo "*********************************************************************"
13 echo "* Files/folders found :"
17 ls ${OPT} ${PREFIX}/bin/bb*
18 ls ${OPT} ${PREFIX}/lib/bb*
19 ls ${OPT} ${PREFIX}/lib/libbb*
20 ls ${OPT} ${PREFIX}/include/bb*
21 ls ${OPT} ${PREFIX}/share/bbtk
23 echo "* DO YOU WANT TO DELETE THEM (Y|n) ?"
25 if [ "${ANS}" = "Y" ]; then
26 rm -Rf ${PREFIX}/bin/bb*
27 rm -Rf ${PREFIX}/lib/bb*
28 rm -Rf ${PREFIX}/lib/libbb*
29 rm -Rf ${PREFIX}/include/bb*
30 rm -Rf ${PREFIX}/share/bbtk