Skip to content

Commit

Permalink
doc: replace references to --replace for the substitute command (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianhjr authored Nov 7, 2024
2 parents ff95239 + 052431c commit 3f45fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/build-helpers/images/appimagetools.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ in appimageTools.wrapType2 {
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/irccloud.png \
$out/share/icons/hicolor/512x512/apps/irccloud.png
substituteInPlace $out/share/applications/irccloud.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
--replace-fail 'Exec=AppRun' 'Exec=${pname}'
'';
}
```
Expand Down Expand Up @@ -147,7 +147,7 @@ let
appimageContents = appimageTools.extract {
inherit pname version src;
postExtract = ''
substituteInPlace $out/irccloud.desktop --replace 'Exec=AppRun' 'Exec=${pname}'
substituteInPlace $out/irccloud.desktop --replace-fail 'Exec=AppRun' 'Exec=${pname}'
'';
};
in appimageTools.wrapType2 {
Expand Down

0 comments on commit 3f45fa2

Please sign in to comment.