mirror of
https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux.git
synced 2025-11-11 15:55:46 +01:00
Solved a bug wit logging the installation!
The function has to be revised again.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user