updated install script to actually work.
This commit is contained in:
-10
@@ -3,16 +3,6 @@
|
|||||||
echo "compiling ferrisfind..."
|
echo "compiling ferrisfind..."
|
||||||
if cargo build --release; then
|
if cargo build --release; then
|
||||||
echo "ferrisfind compiled successfully!"
|
echo "ferrisfind compiled successfully!"
|
||||||
if ldd ./target/release/ferrisfind | grep libtika | grep "not found"; then
|
|
||||||
echo "libtika not found in current sytem, copying from the build directory."
|
|
||||||
echo "this will need sudo privileges..."
|
|
||||||
if sudo cp ./target/release/build/extractous-*/out/libs/libtika_native.so /usr/lib64/; then
|
|
||||||
echo "library copied successfully!"
|
|
||||||
else
|
|
||||||
echo "error copying libary!"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
echo "copying binary to your path..."
|
echo "copying binary to your path..."
|
||||||
echo "this will require sudo privileges"
|
echo "this will require sudo privileges"
|
||||||
if sudo cp ./target/release/ferrisfind /usr/bin; then
|
if sudo cp ./target/release/ferrisfind /usr/bin; then
|
||||||
|
|||||||
Reference in New Issue
Block a user