From 45455f0aea122f8f3f221120b8376575105b300c Mon Sep 17 00:00:00 2001
From: Greg DiCristofaro <gregd@basistech.com>
Date: Wed, 2 Aug 2023 09:29:22 -0400
Subject: [PATCH] fix

---
 snap/snapcraft.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 90cd4a23da..d31774a99b 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -280,14 +280,16 @@ parts:
       cat <<EOF > $AUTOPSY_LOCATION/bin/autopsywrapper.sh
       #!/bin/bash
       mkdir -p \$HOME/tmp
-      # include this line to print all set variables
-      # set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"
       echo Starting Autopsy...
       \$SNAP/autopsy/bin/autopsy
       EOF
 
       chmod 755 $AUTOPSY_LOCATION/bin/autopsywrapper.sh
 
+      # include this line to print all set variables
+      # set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"
+      # sed -i '129 i ' "$AUTOPSY_LOCATION/platform/lib/nbexec"
+
 
   # taken from https://github.com/ubuntu/thunderbird/blob/stable/snapcraft.yaml
   # Find files provided by the base and platform snap and ensure they aren't
-- 
GitLab