Skip to content

Commit

Permalink
bzip2 decompress restic binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
lhns committed Aug 14, 2023
1 parent 9c9b913 commit 5124493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ downloadBinaries() {
local target="$(pwd)/app/src/main/jniLibs/$androidArch"
mkdir -p "$target"

curl -L -o "$target/libdata_restic.so" "https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_${resticArch}.bz2"
curl -L "https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_${resticArch}.bz2" | bzip2 -dc > "$target/libdata_restic.so"

unpackProot() {
pushd data/data/com.termux/files/usr
Expand Down

0 comments on commit 5124493

Please sign in to comment.