parent
cf96c489eb
commit
d0c5ffe9e1
@ -33,5 +33,5 @@ You can install `zstd` on your host with your usual package manager. On Ubuntu,
|
|||||||
|
|
||||||
On your **reMarkable** you can do `opkg install zstd` if you have [entware](https://github.com/evidlo/remarkable_entware) installed. If you don't you can use the binary provided in this repository. In general you shouldn't trust binaries strangers on the internet provide to you, but I provide the option if you don't want the hassle of installing entware.
|
On your **reMarkable** you can do `opkg install zstd` if you have [entware](https://github.com/evidlo/remarkable_entware) installed. If you don't you can use the binary provided in this repository. In general you shouldn't trust binaries strangers on the internet provide to you, but I provide the option if you don't want the hassle of installing entware.
|
||||||
|
|
||||||
You can copy the binary to your remarkable with `scp zstd root@10.11.99.1:/home/root/zstd`.
|
You can copy the binary to your remarkable with `scp zstd.arm root@10.11.99.1:~/zstd`.
|
||||||
|
|
||||||
|
@ -28,8 +28,8 @@ fallback_to_gzip() {
|
|||||||
# check if zstd is present on remarkable
|
# check if zstd is present on remarkable
|
||||||
if ssh "$ssh_host" "[ -f /opt/bin/zstd ]"; then
|
if ssh "$ssh_host" "[ -f /opt/bin/zstd ]"; then
|
||||||
compress="/opt/bin/zstd"
|
compress="/opt/bin/zstd"
|
||||||
elif ssh "$ssh_host" "[ -f /home/root/zstd ]"; then
|
elif ssh "$ssh_host" "[ -f ~/zstd ]"; then
|
||||||
compress="/home/root/zstd"
|
compress="~/zstd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# gracefully degrade to gzip if zstd is not present on remarkable or host
|
# gracefully degrade to gzip if zstd is not present on remarkable or host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user