3 # Restore binary files (temporary fix - should use git-fat instead)
4 for color
in "w" "b"; do
5 for piece
in "b" "c" "d" "e" "f" "g" "h" "j" "k" "m" "n" "o" "p" "q" "r" "s"; do
6 rm -f public
/images
/pieces
/Eightpieces
/tmp_png
/"$color$piece".png
7 wget
-q -O public
/images
/pieces
/Eightpieces
/tmp_png
/"$color$piece".png https
://vchess.club
/images
/pieces
/Eightpieces
/tmp_png
/"$color$piece".png
10 for image
in "Orda" "Archer" "Lancer" "Kheshig" "Yurt"; do
11 rm -f /public
/images
/variants
/Orda
/"$image".png
12 wget
-q -O public
/images
/variants
/Orda
/"$image".png https
://vchess.club
/images
/variants
/Orda
/"$image".png
14 rm -f public
/sounds
/newgame.flac
15 wget
-q -O public
/sounds
/newgame.flac https
://vchess.club
/sounds
/newgame.flac
16 rm -f public
/favicon.ico
17 wget
-q -O public
/favicon.ico https
://vchess.club
/favicon.ico