"Fossies" - the Fresh Open Source Software Archive

Member "pacpl-code/patches/fix_destination_always_overwritten.patch" (22 Aug 2019, 542 Bytes) of package /linux/privat/pacpl-6.1.3.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 diff --git a/pacpl.in b/pacpl.in
    2 index 341e680..3c16141 100644
    3 --- a/pacpl.in
    4 +++ b/pacpl.in
    5 @@ -2343,7 +2343,7 @@ sub proc_files {
    6                     $encoder = $run{$to}{DEFAULT_ENCODER} if not $my_encoder;
    7                     $decoder = $run{$if}{DEFAULT_DECODER} if not $my_decoder;
    8                
    9 -               if (-e "$file.$to" and not $overwrite) {
   10 +               if (-e "$dir/$file.$to" and not $overwrite) {
   11                     pnotice("overwrite","$file.$to",1);
   12                     $total_failed++;
   13                     next;