Simplify copies slightly

This commit is contained in:
thespad 2025-11-16 20:31:55 +00:00
parent 91376b4238
commit cad3445302
No known key found for this signature in database
3 changed files with 1 additions and 7 deletions

View File

@ -44,9 +44,6 @@ RUN \
mv /app/www/public/upload /defaults/ && \
echo "**** download default lang files ****" && \
mkdir -p /defaults/lang && \
curl -fso \
/defaults/lang/default.pot -L \
"https://raw.githubusercontent.com/projectsend/projectsend/refs/heads/develop/templates/default/lang/default.pot" && \
curl -fso \
/defaults/lang/en.mo -L \
"https://raw.githubusercontent.com/projectsend/projectsend/refs/heads/develop/templates/default/lang/en.mo" && \

View File

@ -44,9 +44,6 @@ RUN \
mv /app/www/public/upload /defaults/ && \
echo "**** download default lang files ****" && \
mkdir -p /defaults/lang && \
curl -fso \
/defaults/lang/default.pot -L \
"https://raw.githubusercontent.com/projectsend/projectsend/refs/heads/develop/templates/default/lang/default.pot" && \
curl -fso \
/defaults/lang/en.mo -L \
"https://raw.githubusercontent.com/projectsend/projectsend/refs/heads/develop/templates/default/lang/en.mo" && \

View File

@ -80,7 +80,7 @@ symlinks=(
)
for i in "${symlinks[@]}"; do
path=$(echo "${i}" | awk -F '/' '{print $(NF-1)"/"$NF}')
path=$(echo "${i}" | awk -F '/' '{print $(NF-1)}')
# symlink translations
if [[ -d /config/translations/"$path" && ! -L "${i}" ]]; then
rm -rf "${i}"