onlyoffice-desktopeditors: cleanup

substituteInPlace --replace is deprecated
This commit is contained in:
fin444 2024-10-28 10:33:09 -04:00
parent 6684bba9c2
commit e31f626948
No known key found for this signature in database

View File

@ -141,7 +141,7 @@ let
done;
substituteInPlace $out/bin/onlyoffice-desktopeditors \
--replace "/opt/onlyoffice/" "$out/share/"
--replace-fail "/opt/onlyoffice/" "$out/share/"
ln -s $out/share/desktopeditors/DesktopEditors $out/bin/DesktopEditors
@ -180,7 +180,7 @@ buildFHSEnv {
ln -s ${derivation}/share/icons $out/share
cp -r ${derivation}/share/applications $out/share
substituteInPlace $out/share/applications/onlyoffice-desktopeditors.desktop \
--replace "/usr/bin/onlyoffice-desktopeditors" "$out/bin/onlyoffice-desktopeditors"
--replace-fail "/usr/bin/onlyoffice-desktopeditors" "$out/bin/onlyoffice-desktopeditors"
'';
passthru.updateScript = ./update.sh;