2013-06-17 11:23:08 +01:00
|
|
|
#!/bin/bash
|
2013-06-06 04:57:06 +01:00
|
|
|
|
2013-06-25 17:08:34 +01:00
|
|
|
#Source bashrc to define kdebuild and environment variables
|
2013-06-06 13:26:53 +01:00
|
|
|
#http://techbase.kde.org/Getting_Started/Build/Environment
|
2013-06-06 04:57:06 +01:00
|
|
|
. ~/.bashrc
|
|
|
|
|
|
|
|
KDE_BUILD_CONFIRMATION=false
|
2013-06-27 13:33:51 +01:00
|
|
|
export VERBOSE=1
|
2013-06-06 04:57:06 +01:00
|
|
|
|
|
|
|
if kdebuild; then
|
|
|
|
|
2013-06-27 13:33:51 +01:00
|
|
|
killall kded4 2> /dev/null
|
|
|
|
while killall -9 kded4 2> /dev/null; do
|
2013-06-06 04:57:06 +01:00
|
|
|
true
|
|
|
|
done
|
2013-06-25 17:08:34 +01:00
|
|
|
|
2013-07-02 00:50:32 +01:00
|
|
|
#qdbus org.kde.kded /kded unloadModule kdeconnect
|
|
|
|
#qdbus org.kde.kded /kded loadModule kdeconnect
|
2013-06-27 13:33:51 +01:00
|
|
|
|
|
|
|
if [ ""$1 == "--nodaemon" ]; then
|
|
|
|
echo "nodaemon"
|
|
|
|
kded4 --nofork
|
|
|
|
else
|
2013-07-02 00:50:32 +01:00
|
|
|
kded4 --nofork # 2>&1 | grep -v "^kded(" &
|
2013-06-27 13:33:51 +01:00
|
|
|
fi
|
2013-06-06 04:57:06 +01:00
|
|
|
|
|
|
|
fi
|
|
|
|
|