OSDN Git Service

generic: do not fail if krandrstartup is not readable
authorIvailo Monev <xakepa10@laimg.moc>
Sat, 13 Aug 2016 19:59:04 +0000 (19:59 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Sat, 13 Aug 2016 19:59:04 +0000 (19:59 +0000)
the file is installed from the randr KCM which is optional

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
startkde.cmake

index ad612fc..7b72308 100644 (file)
@@ -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 <<EOF