mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 09:05:42 +00:00
LOGGER: fixed ES-DE logs symlink
This commit is contained in:
parent
621d74a366
commit
c43d7ddf36
|
@ -131,12 +131,12 @@ tmplog_merger() {
|
||||||
rm "/tmp/retrodeck.log"
|
rm "/tmp/retrodeck.log"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local ESDE_source_logs="/var/config/ES-DE/logs/es_log.txt"
|
local ESDE_source_logs="/var/config/ES-DE/logs"
|
||||||
# Check if the source file exists
|
# Check if the source file exists
|
||||||
if [ -e "$ESDE_source_logs" ]; then
|
if [ -e "$ESDE_source_logs" ]; then
|
||||||
# Create the symlink in the logs folder
|
# Create the symlink in the logs folder
|
||||||
ln -sf "$ESDE_source_logs" "$rd_logs_folder/ES-DE.log"
|
ln -sf "$ESDE_source_logs" "$rd_logs_folder/ES-DE"
|
||||||
log i "ES-DE log file linked to \"$rd_logs_folder/ES-DE.log\""
|
log i "ES-DE log folder linked to \"$rd_logs_folder/ES-DE\""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue