2017-03-13 15:08:04 +01:00
|
|
|
|
#!/bin/bash
|
|
|
|
|
masa=lxqt
|
|
|
|
|
if [ "`cat ~/.xinitrc | grep $masa`" ]; then
|
|
|
|
|
if [ -d /opt/lxqt-turkce ]; then
|
2017-04-04 22:52:24 +02:00
|
|
|
|
cd /opt/lxqt-turkce && git pull -q && echo "git guncellemesi yapıldı."
|
2017-03-13 15:08:04 +01:00
|
|
|
|
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/
|
2017-04-03 02:13:17 +02:00
|
|
|
|
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ü/
|
2017-03-13 15:08:04 +01:00
|
|
|
|
echo "türkçe güncellemeler yapıldı."
|
|
|
|
|
else
|
|
|
|
|
echo "masaüstü lxqt değil!"
|
|
|
|
|
fi
|
|
|
|
|
|