cp lang files at first run
parent
239c8ba258
commit
06c85a1cfe
|
@ -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