[citemplates/abderrahim/locale-fix] only move locale directories if not already moved



commit ae8c31f424be5df566fccf51626ca62391318887
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Thu Jul 25 13:16:30 2019 +0100

    only move locale directories if not already moved
    
    flatpak-builder moves them incrementally after each element

 flatpak/flatpak_ci_initiative.yml | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index 9cbbabc..55dc265 100644
--- a/flatpak/flatpak_ci_initiative.yml
+++ b/flatpak/flatpak_ci_initiative.yml
@@ -12,6 +12,7 @@
       'for lang in $(ls /app/share/locale/); do \
         ll=$(echo ${lang} | egrep -o '^[a-z]+'); \
         test ${ll} == en && continue; \
+        test -L /app/share/locale/${lang} && continue; \
         mkdir -p /app/share/runtime/locale/${ll}/share; \
         mv /app/share/locale/${lang} /app/share/runtime/locale/${ll}/share/; \
         ln -s ../../share/runtime/locale/${ll}/share/${lang} /app/share/locale; \


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