|
@ -188,7 +188,6 @@ echo "================" |
|
|
if [[ ! -d /usr/share/goldendict/dicts ]]; then |
|
|
if [[ ! -d /usr/share/goldendict/dicts ]]; then |
|
|
sudo git clone --depth 1 https://git.artcode.re/non-free/dicts.git /usr/share/goldendict/dicts |
|
|
sudo git clone --depth 1 https://git.artcode.re/non-free/dicts.git /usr/share/goldendict/dicts |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [[ ! -f $HOME/.config/goldendict/config ]] || ! grep -q "path.*/usr/share/goldendict/dicts" $HOME/.config/goldendict/config; then |
|
|
if [[ ! -f $HOME/.config/goldendict/config ]] || ! grep -q "path.*/usr/share/goldendict/dicts" $HOME/.config/goldendict/config; then |
|
|
mkdir -p "$HOME/.config/goldendict/" |
|
|
mkdir -p "$HOME/.config/goldendict/" |
|
|
cp "$BASEDIR/lib/goldendict/config" "$HOME/.config/goldendict/" |
|
|
cp "$BASEDIR/lib/goldendict/config" "$HOME/.config/goldendict/" |
|
|