We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a6c22d commit 62f69c2Copy full SHA for 62f69c2
test-generate
@@ -27,8 +27,12 @@ if [ "$3" = "split" ] ; then
27
EOT
28
done
29
fi
30
-if [ "$3" = "read-write" ] ; then
+if [ "$3" = "read-write" ] || [ "$3" = "localtime" ] ; then
31
sed -i -e '/tmpfs:/D' -e '/- \/run/D' -e '/- \/tmp/D' -e '/read_only: true/D' docker-compose.yml
32
+ if [ "$3" = "localtime" ] ; then
33
+ sed -i -e '/weblate-cache:/a\
34
+ - /etc/localtime:/etc/localtime:ro' docker-compose.yml
35
+ fi
36
else
37
# Allow execution in tmp
38
sed -i 's/- \/tmp/- \/tmp:exec/' docker-compose.yml
0 commit comments