Blame SOURCES/kde-runtime-4.9.0-installdbgsymbols.patch

faacfc
diff -up kde-runtime-4.9.0/drkonqi/doc/examples/installdbgsymbols_fedora.sh.installdbgsymbols kde-runtime-4.9.0/drkonqi/doc/examples/installdbgsymbols_fedora.sh
faacfc
--- kde-runtime-4.9.0/drkonqi/doc/examples/installdbgsymbols_fedora.sh.installdbgsymbols	2012-05-22 18:57:38.000000000 -0500
faacfc
+++ kde-runtime-4.9.0/drkonqi/doc/examples/installdbgsymbols_fedora.sh	2012-08-07 20:00:11.506028183 -0500
faacfc
@@ -27,12 +27,12 @@ run_in_terminal()
faacfc
     mkfifo $fifo
faacfc
 
faacfc
     # start terminal
faacfc
-    konsole -e sh -c "echo \$\$ > $fifo; $1; exit_status=\$?; sleep 1; rm $fifo; echo \$exit_status > $fifo" &
faacfc
+    konsole -e sh -c "echo \$\$ > $fifo; set -x ; $1; exit_status=\$?; sleep 10; rm $fifo; echo \$exit_status > $fifo" &
faacfc
 
faacfc
     # wait for it to finish
faacfc
     local pid=`cat $fifo`
faacfc
     while [ "$?" = "0" ]; do
faacfc
-        sleep 1
faacfc
+        sleep 10
faacfc
         kill -0 $pid 2>/dev/null
faacfc
     done
faacfc
 
faacfc
@@ -80,7 +80,7 @@ done
faacfc
 # filter out duplicates
faacfc
 packages=`echo "$packages" | tr " " "\n" | sort | uniq | tr "\n" " "`
faacfc
 
faacfc
-run_in_terminal "su -c \"debuginfo-install $packages\""
faacfc
+run_in_terminal "pkexec debuginfo-install $packages"
faacfc
 
faacfc
 if [ "$?" = "1" ]; then
faacfc
     exit 3