Skip to content

Commit

Permalink
Add an alternative solution for compressed files
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Apr 13, 2023
1 parent bcfdab5 commit 2e471a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,8 @@ clean_tmp() {

cd ${tmp_outpath}

pigz -f *.img && mv -f *.img.gz ${armbian_outputpath} && sync
pigz -qf *.img || gzip -qf *.img
mv -f *.img.gz -t ${armbian_outputpath} && sync

cd ${current_path}

Expand Down

0 comments on commit 2e471a8

Please sign in to comment.