Commit 1cb2afe3 authored by Laurent Montel's avatar Laurent Montel 😁

Test if file exists before to execute sed

parent 07a8f59f
sed -i "s/\/sieveeditor.desktop/\/org.kde.sieveeditor.desktop/" `kf5-config --path config --locate kickoffrc`
kickoffrcname=`kf5-config --path config --locate kickoffrc`
if [ -f "$kickoffrcname" ]; then
sed -i "s/\/sieveeditor.desktop/\/org.kde.sieveeditor.desktop/" $kickoffrcname
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment