mabox-tools/bin/mabox-langfiles

20 lines
303 B
Plaintext
Raw Normal View History

2020-08-24 17:24:46 +02:00
#!/bin/bash
#
#
FILE="$HOME/.config/mabox/.lang"
if [ ! -f "$FILE" ]; then
case $LANG in
pl*)
2020-08-25 00:35:23 +02:00
rsync -a /usr/share/mabox/lang/pl/ $HOME/
2020-08-24 17:24:46 +02:00
;;
es*)
2020-08-25 00:35:23 +02:00
rsync -a /usr/share/mabox/lang/es/ $HOME/
2020-08-24 17:24:46 +02:00
;;
*)
exit 0
;;
esac
touch $HOME/.config/mabox/.lang
fi