cp lang files at first run
This commit is contained in:
parent
239c8ba258
commit
06c85a1cfe
19
bin/mabox-langfiles
Executable file
19
bin/mabox-langfiles
Executable file
@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
|
Loading…
Reference in New Issue
Block a user