From 46d9659ef573a45b4dbbfd9768d101070ce41316 Mon Sep 17 00:00:00 2001
From: Brian Carrier <carrier@sleuthkit.org>
Date: Tue, 1 May 2018 12:27:40 -0400
Subject: [PATCH] do not error if file is not there

---
 unix_setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unix_setup.sh b/unix_setup.sh
index 8283efcac8..970c35a5c2 100755
--- a/unix_setup.sh
+++ b/unix_setup.sh
@@ -44,7 +44,7 @@ ext_jar_filepath=$PWD/autopsy/modules/ext/sleuthkit-postgresql-$TSK_VERSION.jar;
 if [ -f "$sleuthkit_jar_filepath" ]; then
 	echo "$sleuthkit_jar_filepath found"
 	echo "Copying into the Autopsy directory"
-    	rm $ext_jar_filepath;
+    	rm -f $ext_jar_filepath;
     	if [ "$?" -gt 0 ]; then  #checking if remove operation failed
         	echo "exiting .."
         	exit 1
-- 
GitLab