Solved a bug wit logging the installation!

The function has to be revised again.
This commit is contained in:
Steve Zabka
2021-11-23 10:00:25 +01:00
committed by GitHub
parent 8d1415a10f
commit 3e95e9e6c5

View File

@@ -39,11 +39,16 @@ f360path_log=0
# Provides information about setup actions during installation. # Provides information about setup actions during installation.
function setupact-log { function setupact-log {
# mkdir -p "$HOME/.wineprefixes/fusion360/logfiles"
# exec 3>&1 4>&2
# trap 'exec 2>&4 1>&3' 0 1 2 3
# exec 1> $HOME/.wineprefixes/fusion360/logfiles/setupact.log 2>&1
# echo `date`
mkdir -p "$HOME/.wineprefixes/fusion360/logfiles" mkdir -p "$HOME/.wineprefixes/fusion360/logfiles"
exec 3>&1 4>&2 exec 5> $HOME/.wineprefixes/fusion360/logfiles/setupact.log
trap 'exec 2>&4 1>&3' 0 1 2 3 BASH_XTRACEFD="5"
exec 1> $HOME/.wineprefixes/fusion360/logfiles/setupact.log 2>&1 set -x
echo `date`
} }
# Check if already exists a Autodesk Fusion 360 installation on your system. # Check if already exists a Autodesk Fusion 360 installation on your system.