mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Minor changes (PATCH)
- Log messages with version - Dockerfile case
This commit is contained in:
parent
53bec57fb1
commit
7246fe3eba
@ -1,7 +1,7 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
## Buildstage ##
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 AS buildstage
|
||||
ARG MOD_VERSION
|
||||
|
||||
# copy local files
|
||||
|
||||
4
root/usr/local/bin/striptracks.sh
Normal file → Executable file
4
root/usr/local/bin/striptracks.sh
Normal file → Executable file
@ -199,7 +199,7 @@ while (( "$#" )); do
|
||||
exit 0
|
||||
;;
|
||||
--version ) # Display version
|
||||
echo "$striptracks_script $striptracks_ver"
|
||||
echo "${striptracks_script} ${striptracks_ver/{{VERSION\}\}/unknown}"
|
||||
exit 0
|
||||
;;
|
||||
-f|--file ) # Batch Mode
|
||||
@ -1000,7 +1000,7 @@ done
|
||||
|
||||
# Log Debug state
|
||||
if [ $striptracks_debug -ge 1 ]; then
|
||||
striptracks_message="Debug|Enabling debug logging level ${striptracks_debug}. Starting run for: $striptracks_title"
|
||||
striptracks_message="Debug|Running ${striptracks_script} version ${striptracks_ver/{{VERSION\}\}/unknown} with debug logging level ${striptracks_debug}. Video: $striptracks_title"
|
||||
echo "$striptracks_message" | log
|
||||
echo "$striptracks_message" >&2
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user