kate: fix substitute desktop path

This commit is contained in:
André Vitor de Lima Matos 2022-08-19 08:07:58 -03:00 committed by Peter Hoeg
parent 3759e4ac86
commit a550b5fd0a

View file

@ -20,9 +20,9 @@ mkDerivation {
# kwrite defaults for anything considered text/plain. Resetting to
# 1, which is the default.
postPatch = ''
substituteInPlace kate/data/org.kde.kate.desktop \
substituteInPlace apps/kate/data/org.kde.kate.desktop \
--replace InitialPreference=9 InitialPreference=1
substituteInPlace kwrite/data/org.kde.kwrite.desktop \
substituteInPlace apps/kwrite/data/org.kde.kwrite.desktop \
--replace InitialPreference=8 InitialPreference=1
'';