deepin.deepin-screenshot: search FHS hard coded paths (for debuging)

This commit is contained in:
José Romildo Malaquias 2019-04-13 20:23:42 -03:00
parent 8db37160eb
commit e4745e8363

View File

@ -38,12 +38,17 @@ stdenv.mkDerivation rec {
];
postPatch = ''
searchHardCodedPaths
patchShebangs generate_translations.sh
fixPath ${deepin-turbo} /usr/bin/deepin-turbo-invoker src/dbusservice/com.deepin.Screenshot.service
fixPath $out /usr/bin/deepin-screenshot src/dbusservice/com.deepin.Screenshot.service
substituteInPlace src/mainwindow.cpp --replace '"xdg-open,%1"' '"${xdg_utils}/bin/xdg-open,%1"'
'';
postFixup = ''
searchHardCodedPaths $out
'';
passthru.updateScript = deepin.updateScript { inherit name; };
meta = with stdenv.lib; {