diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-03 13:07:37 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-03 13:08:22 +0300 |
commit | 8ab71c367a80877975fec61032460d87ecb1e3c9 (patch) | |
tree | 63d613950c752eccb6509f0823990e4d6a88894a | |
parent | cac9e5d4e881c5d9d4ab57e1a93adfb397f4c214 (diff) |
Reinstall python3 which is used by the plain script
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | translations/Dockerfile-Plain | 9 | ||||
-rwxr-xr-x | translations/handlePlainTranslations.sh | 5 |
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 |