apt-offline: substitute --replace with --replace-fail

This commit is contained in:
Roland Coeurjoly 2024-08-25 17:25:20 +02:00
parent 9f28e30252
commit ecf6cfcbc1

View File

@ -23,10 +23,10 @@ python3Packages.buildPythonApplication {
postPatch = ''
substituteInPlace org.debian.apt.aptoffline.policy \
--replace /usr/bin/ "$out/bin"
--replace-fail /usr/bin/ "$out/bin"
substituteInPlace apt_offline_core/AptOfflineCoreLib.py \
--replace /usr/bin/gpgv "${lib.getBin gnupg}/bin/gpgv"
--replace-fail /usr/bin/gpgv "${lib.getBin gnupg}/bin/gpgv"
'';
postInstall = ''