From 40bfc46aa3fe273f3a922bb2c177f1d1fc7a92c7 Mon Sep 17 00:00:00 2001 From: Kaj Forney Date: Thu, 13 Feb 2020 14:25:26 -0700 Subject: [PATCH] Update Autopsy script (add icon and remove root requirement) --- .../etc/skel/post-install/install-autopsy.sh | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/filesystem/etc/skel/post-install/install-autopsy.sh b/filesystem/etc/skel/post-install/install-autopsy.sh index 04d03fb3..50f9dc38 100755 --- a/filesystem/etc/skel/post-install/install-autopsy.sh +++ b/filesystem/etc/skel/post-install/install-autopsy.sh @@ -27,5 +27,25 @@ chmod +x unix_setup.sh ./unix_setup.sh cd /usr/bin ln -s /opt/autopsy/bin/autopsy autopsy +chmod +x /opt/autopsy/bin/autopsy +chmod +x /usr/bin/autopsy +cp /opt/autopsy/icon.ico /usr/share/pixmaps/autopsy.ico + +cat << EOF < /usr/share/applications/autopsy.desktop +[Desktop Entry] +Name=Autopsy +Exec=autopsy +Comment=The Autopsy Forensic Browser is a GUI for The Sleuth Kit. +Terminal=false +Icon=/usr/share/pixmaps/autopsy.ico +Type=Application +Categories=Utility;11-07-forensic-imaging-tools; +EOF + echo "Done! Autopsy 4 should be installed." +echo "=================================" +echo "NOTE: You should log out and back in before" +echo "running Autopsy as a normal user." +echo "=================================" +