Skip to content

Commit

Permalink
Merge pull request #2 from kneth/uninstall
Browse files Browse the repository at this point in the history
Adding "uninstall" target. It will remove the core and language bindings...
  • Loading branch information
kspangsege committed May 13, 2013
2 parents 792e65f + 86e3ef4 commit 9f66ea5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,28 @@ case "$MODE" in
exit 0
;;

"uninstall")
if [ "$OS" = "Darwin" ]; then
find /usr/ /Library/Java /System/Library/Java /Library/Python -ipath '*tightdb*' -print
echo
echo "Do you wish to delete the above files (Y/N)?"
read answer
if [ "$answer" = "y" -o "$answer" = "Y" ]; then
find /usr/ /Library/Java /System/Library/Java /Library/Python -ipath '*tightdb*' -delete
fi
else
find /usr/ -ipath '*tightdb*' -print
echo
echo "Do you wish to delete the above files (Y/N)?"
read answer
if [ "$answer" = "y" -o "$answer" = "Y" ]; then
find /usr/ -ipath '*tightdb*' -delete
ldconfig
fi
fi
exit 0
;;

"test-installed")
PREFIX="$1"
make -C "test-installed" clean || exit 1
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Format:
==================


2013-05-13 (Kenneth Geisshirt)
. Added "uninstall" target in build.sh for simple uninstallation.


2013-05-07 (Kristian Spangsege)
. Exception File::OpenError renamed to File::AccessError. This affects
various methods in Group and SharedGroup.
Expand Down

0 comments on commit 9f66ea5

Please sign in to comment.