plasma-workspace: Improve the NixOS patch set

We changed some if condition that is not required to be changed.
This commit is contained in:
Bastian Köcher 2018-07-26 15:24:17 +02:00
parent af44ab8400
commit 6e5d977b97

View File

@ -907,10 +907,10 @@ index dd9e304d..49d456e9 100644
- }
fi
kstartupconfig5
-kstartupconfig5
+@CMAKE_INSTALL_FULL_BINDIR@/kstartupconfig5
returncode=$?
-if test $returncode -ne 0; then
+if ! @CMAKE_INSTALL_FULL_BINDIR@/kstartupconfig5; then
if test $returncode -ne 0; then
exit 1
fi
-[ -r $configDir/startupconfig ] && . $configDir/startupconfig