mfcj470dw-cupswrapper: fixed issue #147793

+11 -5
+11 -5
pkgs/misc/cups/drivers/mfcj470dwcupswrapper/default.nix
··· 21 --replace /etc "$out/etc" 22 23 substituteInPlace $WRAPPER \ 24 - --replace "\`cp " "\`cp -p " \ 25 - --replace "\`mv " "\`cp -p " 26 ''; 27 28 buildPhase = '' ··· 33 34 installPhase = '' 35 TARGETFOLDER=$out/opt/brother/Printers/mfcj470dw/cupswrapper/ 36 - mkdir -p $out/opt/brother/Printers/mfcj470dw/cupswrapper/ 37 38 cp brcupsconfpt1/brcupsconfpt1 $TARGETFOLDER 39 - cp cupswrapper/cupswrappermfcj470dw $TARGETFOLDER/ 40 - cp PPD/brother_mfcj470dw_printer_en.ppd $TARGETFOLDER/ 41 ''; 42 43 cleanPhase = ''
··· 21 --replace /etc "$out/etc" 22 23 substituteInPlace $WRAPPER \ 24 + --replace "cp " "cp -p " 25 ''; 26 27 buildPhase = '' ··· 32 33 installPhase = '' 34 TARGETFOLDER=$out/opt/brother/Printers/mfcj470dw/cupswrapper/ 35 + PPDFOLDER=$out/share/cups/model/ 36 + FILTERFOLDER=$out/lib/cups/filter/ 37 + 38 + mkdir -p $TARGETFOLDER 39 + mkdir -p $PPDFOLDER 40 + mkdir -p $FILTERFOLDER 41 42 cp brcupsconfpt1/brcupsconfpt1 $TARGETFOLDER 43 + cp cupswrapper/cupswrappermfcj470dw $TARGETFOLDER 44 + cp PPD/brother_mfcj470dw_printer_en.ppd $PPDFOLDER 45 + 46 + ln -s ${mfcj470dwlpr}/lib/cups/filter/brother_lpdwrapper_mfcj470dw $FILTERFOLDER/ 47 ''; 48 49 cleanPhase = ''