[gimp/wip/Jehan/Win-installer] build: make sure InnoSetup language files are not already present.




commit db877dfdc377fda8a4decbfd45cf94745b952672
Author: Jehan <jehan girinstud io>
Date:   Wed Dec 15 21:49:07 2021 +0100

    build: make sure InnoSetup language files are not already present.
    
    I noticed in our build logs such output:
    
    > Saving to: ‘Basque.isl.53’
    
    Wget does not override same-named files and would append a number. The
    thing is that we are not supposed to have other .isl files over there,
    but I think current Windows runners on Gitlab are not properly wiped
    out. That must be why we get remnant of old files.
    Anyway this will make sure we override, hence use the last version of
    translations (otherwise we are stuck to old versions as long as they are
    not wiped out, since the downloaded file is not properly named).

 build/windows/gitlab-ci/installer-gimp-msys2.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
---
diff --git a/build/windows/gitlab-ci/installer-gimp-msys2.sh b/build/windows/gitlab-ci/installer-gimp-msys2.sh
index e13ab62088..4e87412d67 100644
--- a/build/windows/gitlab-ci/installer-gimp-msys2.sh
+++ b/build/windows/gitlab-ci/installer-gimp-msys2.sh
@@ -10,21 +10,37 @@ ISCCDIR=`cygpath -u "$ISCCDIR"`
 mkdir -p "${ISCCDIR}/Languages/Unofficial"
 cd "${ISCCDIR}/Languages/Unofficial"
 
+rm -f Basque.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Basque.isl
+rm -f ChineseSimplified.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/ChineseSimplified.isl
+rm -f ChineseTraditional.isl
 wget 
https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/ChineseTraditional.isl
+rm -f EnglishBritish.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/EnglishBritish.isl
+rm -f Esperanto.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Esperanto.isl
+rm -f Greek.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Greek.isl
+rm -f Hungarian.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Hungarian.isl
+rm -f Indonesian.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Indonesian.isl
+rm -f Korean.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Korean.isl
+rm -f Latvian.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Latvian.isl
+rm -f Lithuanian.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Lithuanian.isl
+rm -f Malaysian.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Malaysian.isl
+rm -f Marathi.islu
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Marathi.islu
+rm -f Romanian.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Romanian.isl
+rm -f Swedish.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Swedish.isl
+rm -f Vietnamese.isl
 wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Vietnamese.isl
 cd -
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]