mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Merge pull request #3691 from rishwanth1995/unix_setup_mac
script to configure autopsy mac
This commit is contained in:
commit
00a5495628
@ -6,8 +6,9 @@ TSK_VERSION=4.6.0
|
|||||||
|
|
||||||
# Verify PhotoRec was installed
|
# Verify PhotoRec was installed
|
||||||
photorec_filepath=/usr/bin/photorec
|
photorec_filepath=/usr/bin/photorec
|
||||||
if [ -f "$photorec_filepath" ]; then
|
photorec_osx_filepath=/usr/local/bin/photorec
|
||||||
echo "$photorec_filepath found"
|
if [ -f "$photorec_filepath" ] || [ -f "$photorec_osx_filepath" ]; then
|
||||||
|
echo "photorec found"
|
||||||
else
|
else
|
||||||
echo "ERROR: Photorec not found, please install the testdisk package"
|
echo "ERROR: Photorec not found, please install the testdisk package"
|
||||||
exit 1
|
exit 1
|
||||||
@ -27,7 +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;
|
|
||||||
|
|
||||||
|
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