#!/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/ ;; *) exit 0 ;; esac touch $HOME/.config/mabox/.lang fi