mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-03-06 14:27:48 +00:00
LOGGER: symlinked ES-DE log file into logs folder
This commit is contained in:
parent
f357996df7
commit
ad9485914c
|
@ -115,3 +115,13 @@ tmplog_merger() {
|
||||||
rm "/tmp/retrodeck.log"
|
rm "/tmp/retrodeck.log"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ESDE_source_logs="/var/config/emulationstation/.emulationstation/es_log.txt"
|
||||||
|
# Check if the source file exists
|
||||||
|
if [ -e "$ESDE_source_logs" ]; then
|
||||||
|
# Create the symlink in the logs folder
|
||||||
|
ln -sf "$source_file" "$logs_folder/ES-DE.log"
|
||||||
|
log i "ES-DE log file linked to \"$logs_folder/ES-DE.log\""
|
||||||
|
else
|
||||||
|
echo "ES-DE log file not found, not linked"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue