mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
do not error if file is not there
This commit is contained in:
parent
47ebd238e8
commit
46d9659ef5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user