Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/docker-ci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-10-03 13:07:37 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-03 13:08:22 +0300
commit8ab71c367a80877975fec61032460d87ecb1e3c9 (patch)
tree63d613950c752eccb6509f0823990e4d6a88894a
parentcac9e5d4e881c5d9d4ab57e1a93adfb397f4c214 (diff)
Reinstall python3 which is used by the plain script
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--translations/Dockerfile-Plain9
-rwxr-xr-xtranslations/handlePlainTranslations.sh5
2 files changed, 10 insertions, 4 deletions
diff --git a/translations/Dockerfile-Plain b/translations/Dockerfile-Plain
index 7ff347b..fade0d7 100644
--- a/translations/Dockerfile-Plain
+++ b/translations/Dockerfile-Plain
@@ -2,4 +2,13 @@ FROM ghcr.io/nextcloud/continuous-integration-translations:latest
MAINTAINER Morris Jobke <hey@morrisjobke.de>
+# Install python
+RUN apt-get update -q && \
+ DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends \
+ python3 \
+ python3-pip \
+ python3-setuptools \
+ python3-wheel \
+ && apt-get clean
+
ADD handlePlainTranslations.sh /handleTranslations.sh
diff --git a/translations/handlePlainTranslations.sh b/translations/handlePlainTranslations.sh
index d954b50..e36c1fa 100755
--- a/translations/handlePlainTranslations.sh
+++ b/translations/handlePlainTranslations.sh
@@ -18,6 +18,7 @@ versions="master $(git branch -r | grep -E "origin\/stable\-[0-9\.]+$" | cut -f2
if [ -d src/main/res ]; then
rm -rf src/main/res/values-*/strings.xml
fi
+# Android talk app
if [ -d app/src/main/res ]; then
rm -rf app/src/main/res/values-*/strings.xml
fi
@@ -26,10 +27,6 @@ fi
if [ -d News-Android-App/src/main/res ]; then
rm -rf News-Android-App/src/main/res/values-*/strings.xml
fi
-# Android talk app
-if [ -d app/src/main/res ]; then
- rm -rf app/src/main/res/values-*/strings.xml
-fi
# combine stable branches to keep freshly removed translations
if [ $1 = "nextcloud" -a $2 = "android" ]; then