20 lines
346 B
Bash
Executable File
20 lines
346 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
#
|
|
FILE="$HOME/.config/mabox/.lang"
|
|
if [ ! -f "$FILE" ]; then
|
|
case $LANG in
|
|
pl*)
|
|
rsync -a /usr/share/mabox/lang/pl/ $HOME/
|
|
;;
|
|
es*)
|
|
rsync -a /usr/share/mabox/lang/es/ $HOME/
|
|
;;
|
|
*)
|
|
rsync -a /usr/share/mabox/lang/en/ $HOME/
|
|
;;
|
|
esac
|
|
touch $HOME/.config/mabox/.lang
|
|
fi
|
|
|