From 3107d81926ee5045df0d67dcb284c9a3775e00b3 Mon Sep 17 00:00:00 2001 From: rishwanth1995 Date: Thu, 12 Apr 2018 14:27:22 -0400 Subject: [PATCH] unix-setup --- unix_setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/unix_setup.sh b/unix_setup.sh index 93a98ae1bc..197038a8d2 100755 --- a/unix_setup.sh +++ b/unix_setup.sh @@ -6,8 +6,9 @@ TSK_VERSION=4.6.0 # Verify PhotoRec was installed photorec_filepath=/usr/bin/photorec -if [ -f "$photorec_filepath" ]; then - echo "$photorec_filepath found" +photorec_osx_filepath=/usr/local/bin/photorec +if [ -f "$photorec_filepath" ] || [ -f "$photorec_osx_filepath" ]; then + echo "photorec found" else echo "ERROR: Photorec not found, please install the testdisk package" exit 1 @@ -28,6 +29,7 @@ fi # 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; ext_jar_filepath=$PWD/autopsy/modules/ext/sleuthkit-postgresql-$TSK_VERSION.jar; if [ -f "$sleuthkit_jar_filepath" ]; then echo "$sleuthkit_jar_filepath found"