Skip to content

Commit

Permalink
Fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Arial-Z committed Apr 21, 2024
1 parent 67c4591 commit abd0b5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ RUN echo "**** install system packages ****" \
&& rm -rf /requirements.txt /tmp/* /var/tmp/* /var/lib/apt/lists/*
VOLUME /config
VOLUME /pmm
ENTRYPOINT ["/tini", "-s", "bash", "plex-romaji-renamer.sh", "--"]
ENTRYPOINT ["/tini", "-s", "bash", "romaji-renamer.sh", "--"]
8 changes: 4 additions & 4 deletions romaji-renamer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ then
rm "$SCRIPT_FOLDER/config/data/*.json"
fi
printf "%s" "$version" > "$SCRIPT_FOLDER/config/version_last_run.txt"
printf "%s - Plex-Romaji-Renamer v%s\n" "$(date +%H:%M:%S)" "$version" | tee -a "$LOG"
printf "%s - Romaji-Renamer v%s\n" "$(date +%H:%M:%S)" "$version" | tee -a "$LOG"
locale=$(locale -a | grep -i "utf" | head -n 1)
if [ -z "$locale" ]
then
Expand All @@ -28,15 +28,15 @@ then
fi
if [ ! -f "$SCRIPT_FOLDER/config/default.env" ]
then
curl -s "https://raw.githubusercontent.com/Arial-Z/Plex-Romaji-Renamer/dev/config/default.env" > "$SCRIPT_FOLDER/config/default.env"
curl -s "https://raw.githubusercontent.com/Arial-Z/Romaji-Renamer/dev/config/default.env" > "$SCRIPT_FOLDER/config/default.env"
fi
if [ ! -f "$SCRIPT_FOLDER/config/override-ID-animes.example.tsv" ]
then
curl -s "https://raw.githubusercontent.com/Arial-Z/Plex-Romaji-Renamer/dev/config/override-ID-animes.example.tsv" > "$SCRIPT_FOLDER/config/override-ID-animes.example.tsv"
curl -s "https://raw.githubusercontent.com/Arial-Z/Romaji-Renamer/dev/config/override-ID-animes.example.tsv" > "$SCRIPT_FOLDER/config/override-ID-animes.example.tsv"
fi
if [ ! -f "$SCRIPT_FOLDER/config/override-ID-movies.example.tsv" ]
then
curl -s "https://raw.githubusercontent.com/Arial-Z/Plex-Romaji-Renamer/dev/config/override-ID-movies.example.tsv" > "$SCRIPT_FOLDER/config/override-ID-movies.example.tsv"
curl -s "https://raw.githubusercontent.com/Arial-Z/Romaji-Renamer/dev/config/override-ID-movies.example.tsv" > "$SCRIPT_FOLDER/config/override-ID-movies.example.tsv"
fi
# sleep infinity
if [ -f "$SCRIPT_FOLDER/config/.env" ]
Expand Down

0 comments on commit abd0b5b

Please sign in to comment.