mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
modified unix-setup script for osx
This commit is contained in:
parent
3107d81926
commit
6ed2c5b1bd
@ -28,8 +28,18 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Verify Sleuth Kit Java was installed
|
# Verify Sleuth Kit Java was installed
|
||||||
sleuthkit_jar_filepath=/usr/share/java/sleuthkit-$TSK_VERSION.jar;
|
|
||||||
sleuthkit_osx_jar_filepath=/usr/local/share/java/sleuthkit-$TSK_VERSION.jar;
|
|
||||||
|
if [ -f "/usr/share/java/sleuthkit-$TSK_VERSION.jar" ]; then
|
||||||
|
sleuthkit_jar_filepath=/usr/share/java/sleuthkit-$TSK_VERSION.jar
|
||||||
|
elif [ -f "/usr/local/share/java/sleuthkit-$TSK_VERSION.jar" ]; then
|
||||||
|
sleuthkit_jar_filepath=/usr/local/share/java/sleuthkit-$TSK_VERSION.jar
|
||||||
|
else
|
||||||
|
echo "sleuthkit.jar file not found"
|
||||||
|
echo "exiting .."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
ext_jar_filepath=$PWD/autopsy/modules/ext/sleuthkit-postgresql-$TSK_VERSION.jar;
|
ext_jar_filepath=$PWD/autopsy/modules/ext/sleuthkit-postgresql-$TSK_VERSION.jar;
|
||||||
if [ -f "$sleuthkit_jar_filepath" ]; then
|
if [ -f "$sleuthkit_jar_filepath" ]; then
|
||||||
echo "$sleuthkit_jar_filepath found"
|
echo "$sleuthkit_jar_filepath found"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user