mabox-tools/bin/mabox-langfiles

20 lines
319 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*)
rsync -a /usr/share/mabox/lang/pl/ $HOME/.config/
;;
es*)
rsync -a /usr/share/mabox/lang/es/ $HOME/.config/
;;
*)
exit 0
;;
esac
touch $HOME/.config/mabox/.lang
fi