Skip to content

Commit

Permalink
switch to par2-cmdline-turbo
Browse files Browse the repository at this point in the history
Highly recommend to use the latest turbo fork of par2-cmdline, it's way faster than par2-cmdline and even beats parpar animetosho/par2cmdline-turbo#4
  • Loading branch information
buggsi committed Mar 25, 2023
1 parent 18f364d commit f2b0ca7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion example-config.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ PASSWORD_PREFIX=
# Set the PAR2 binary you want to use: par2 or parpar.
# parpar provides the best performance and speed.
# https://github.com/animetosho/ParPar/blob/master/benchmarks/info.md
PAR2_BINARY=parpar
# However, the recent fork https://github.com/animetosho/par2cmdline-turbo
# is even faster than parpar.
PAR2_BINARY=par2

# It is strongly recommended that you choose a PAR2 block size that
# is either equal to or an exact multiple of the article posting size
Expand Down
5 changes: 2 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ fi

if ! command -v "$appdir/bin/par2" &>/dev/null; then
echo "Missing par2, installing..."
wget -nc https://github.com/Parchive/par2cmdline/releases/download/v0.8.1/par2cmdline-0.8.1.tar.gz
tar xzvf par2cmdline-0.8.1.tar.gz -C temp
cd temp/par2cmdline-0.8.1
git clone https://github.com/animetosho/par2cmdline-turbo temp/par2cmdline
cd temp/par2cmdline
./automake.sh
./configure
make
Expand Down

0 comments on commit f2b0ca7

Please sign in to comment.