From: Ivailo Monev Date: Sat, 13 Aug 2016 19:59:04 +0000 (+0000) Subject: generic: do not fail if krandrstartup is not readable X-Git-Tag: 4.22.0~1443 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c2e00ef6d6a49fe87a568ec75514f7c0abaddcd8;p=kde%2Fkde-workspace.git generic: do not fail if krandrstartup is not readable the file is installed from the randr KCM which is optional Signed-off-by: Ivailo Monev --- diff --git a/startkde.cmake b/startkde.cmake index ad612fcb..7b72308a 100644 --- a/startkde.cmake +++ b/startkde.cmake @@ -105,7 +105,7 @@ if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" fi fi -. krandrstartup +[ -r krandrstartup ] && . krandrstartup if test "$kcmfonts_general_forcefontdpi" -ne 0; then xrdb -quiet -merge -nocpp <