#!/bin/bash
masa=lxqt
if [ "`cat ~/.xinitrc | grep $masa`" ]; then
	if [ -d /opt/lxqt-turkce ]; then
		cd /opt/lxqt-turkce && git pull -q && echo "git guncellemesi yapıldı."
	else
		git clone https://github.com/yasarciv/LXQt-Turkce /opt/lxqt-turkce
	fi
	cp -rf /opt/lxqt-turkce/applications/* /usr/share/applications/
	cp -rf /opt/lxqt-turkce/desktop-directories/* /usr/share/desktop-directories/
	cp -rf /opt/lxqt-turkce/Computer.desktop $HOME/Masaüstü/
	cp -rf /opt/lxqt-turkce/Home.desktop $HOME/Masaüstü/
    cp -rf /opt/lxqt-turkce/Trash.desktop $HOME/Masaüstü/
	echo "türkçe güncellemeler yapıldı."
else
	echo "masaüstü lxqt değil!"
fi

