mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-08 06:15:42 +01:00
Change a function (logfile-installation)
The function now records all setup actions! Now I get a detailed report * about the installation. * If you send me this one!
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
# Author URI: https://cryinkfly.com #
|
# Author URI: https://cryinkfly.com #
|
||||||
# License: MIT #
|
# License: MIT #
|
||||||
# Copyright (c) 2020-2021 #
|
# Copyright (c) 2020-2021 #
|
||||||
# Time/Date: 10:00/21.11.2021 #
|
# Time/Date: 13:00/21.11.2021 #
|
||||||
# Version: 1.5.7 #
|
# Version: 1.5.7 #
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
|
||||||
@@ -32,10 +32,11 @@
|
|||||||
# This log file will later help with error analysis to find out why the installation did not work.
|
# This log file will later help with error analysis to find out why the installation did not work.
|
||||||
|
|
||||||
function logfile-installation {
|
function logfile-installation {
|
||||||
mkdir -p "/$HOME/.local/share/fusion360/logfiles" &&
|
mkdir -p "$HOME/.wineprefixes/fusion360/logfiles"
|
||||||
exec 5> /$HOME/.local/share/fusion360/logfiles/logfile-installation
|
exec 3>&1 4>&2
|
||||||
BASH_XTRACEFD="5"
|
trap 'exec 2>&4 1>&3' 0 1 2 3
|
||||||
set -x
|
exec 1> $HOME/.wineprefixes/fusion360/logfiles/setupact.log 2>&1
|
||||||
|
echo `date`
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################################################################################################
|
###############################################################################################################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user