Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Legacy uninstallers for ECL and GSL
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Feb 5, 2019
1 parent bcef97e commit 6a2596e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build/pkgs/ecl/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ touch build/TAGS
exec </dev/null

sdh_make

# Remove old install of ECL, if any.
rm -rf "$SAGE_LOCAL/lib/ecl-"*
if [ $? -ne 0 ]; then
echo >&2 "Error - Failed to remove old ECL install ... exiting"
exit 1
fi

sdh_make_install

# Create symbolic link to lib/ecl-version directory.
Expand Down
5 changes: 5 additions & 0 deletions build/pkgs/ecl/spkg-legacy-uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rm -f "$SAGE_LOCAL"/bin/ecl
rm -rf "$SAGE_LOCAL"/include/ecl
rm -rf "$SAGE_LOCAL"/lib/ecl
rm -rf "$SAGE_LOCAL"/lib/ecl-*
rm -rf "$SAGE_LOCAL"/lib/libecl.*
2 changes: 2 additions & 0 deletions build/pkgs/gsl/spkg-legacy-uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rm -rf "$SAGE_LOCAL"/include/gsl
rm -rf "$SAGE_LOCAL"/lib/libgsl*

0 comments on commit 6a2596e

Please sign in to comment.