mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
changes to unix_setup for execution
This commit is contained in:
parent
c99d8e730c
commit
96191c488d
@ -108,12 +108,6 @@ class Autopsy4 < Formula
|
|||||||
ENV["TSK_JAVA_LIB_PATH"] = File.join(prefix, "share", "java")
|
ENV["TSK_JAVA_LIB_PATH"] = File.join(prefix, "share", "java")
|
||||||
system unix_setup_script, "-j", "#{java_home_path}"
|
system unix_setup_script, "-j", "#{java_home_path}"
|
||||||
|
|
||||||
# set executable by all (for packaging and running)
|
|
||||||
system "chmod", "a+x", "#{autopsy_install_path}/autopsy/markmckinnon/Export*"
|
|
||||||
system "chmod", "a+x", "#{autopsy_install_path}/autopsy/markmckinnon/parse*"
|
|
||||||
system "chmod", "-R", "a+x", "#{autopsy_install_path}/autopsy/solr/bin"
|
|
||||||
system "chmod", "a+x", "#{autopsy_install_path}/bin/autopsy"
|
|
||||||
|
|
||||||
open(File.join(autopsy_install_path, "etc", "autopsy.conf"), 'a') { |f|
|
open(File.join(autopsy_install_path, "etc", "autopsy.conf"), 'a') { |f|
|
||||||
# gstreamer needs the 'gst-plugin-scanner' to locate gstreamer plugins like the ones that allow gstreamer to play videos in autopsy
|
# gstreamer needs the 'gst-plugin-scanner' to locate gstreamer plugins like the ones that allow gstreamer to play videos in autopsy
|
||||||
# so, the jreflags allow the initial gstreamer lib to be loaded and the 'GST_PLUGIN_SYSTEM_PATH' along with 'GST_PLUGIN_SCANNER'
|
# so, the jreflags allow the initial gstreamer lib to be loaded and the 'GST_PLUGIN_SYSTEM_PATH' along with 'GST_PLUGIN_SCANNER'
|
||||||
|
@ -174,8 +174,6 @@ parts:
|
|||||||
|
|
||||||
# snaps run applications with different permissions. This ensures applications can run.
|
# snaps run applications with different permissions. This ensures applications can run.
|
||||||
chmod 755 "$AUTOPSY_LOCATION/bin/autopsy"
|
chmod 755 "$AUTOPSY_LOCATION/bin/autopsy"
|
||||||
find "$AUTOPSY_LOCATION/autopsy/markmckinnon" -name "Export*" -o -name "parse*" | xargs -I{} chmod a+x {}
|
|
||||||
chmod -R a+x "$AUTOPSY_LOCATION/autopsy/solr/bin"
|
|
||||||
|
|
||||||
# include this line to print all set variables
|
# include this line to print all set variables
|
||||||
# sed -i '129 i set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"' "$AUTOPSY_LOCATION/platform/lib/nbexec"
|
# sed -i '129 i set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"' "$AUTOPSY_LOCATION/platform/lib/nbexec"
|
Loading…
x
Reference in New Issue
Block a user