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
|
|
|
;;
|
2021-05-26 14:00:26 +02:00
|
|
|
*)
|
2020-09-07 22:20:36 +02:00
|
|
|
rsync -a /usr/share/mabox/lang/en/ $HOME/
|
|
|
|
;;
|
2020-08-24 17:24:46 +02:00
|
|
|
esac
|
|
|
|
touch $HOME/.config/mabox/.lang
|
|
|
|
fi
|
|
|
|
|