File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,11 @@ set -o pipefail # don't hide errors within pipes
1010IFS=$' \n\t '
1111
1212R_CLONE_VERSION=" 1.63.1"
13- curl --silent --location --remote-name " https://downloads.rclone.org/v${R_CLONE_VERSION} /rclone-v${R_CLONE_VERSION} -linux-amd64.deb"
14- dpkg --install " rclone-v${R_CLONE_VERSION} -linux-amd64.deb"
15- rm " rclone-v${R_CLONE_VERSION} -linux-amd64.deb"
13+ TARGETARCH=" ${TARGETARCH:- amd64} "
14+
15+ echo " platform ${TARGETARCH} "
16+
17+ curl --silent --location --remote-name " https://downloads.rclone.org/v${R_CLONE_VERSION} /rclone-v${R_CLONE_VERSION} -linux-${TARGETARCH} .deb"
18+ dpkg --install " rclone-v${R_CLONE_VERSION} -linux-${TARGETARCH} .deb"
19+ rm " rclone-v${R_CLONE_VERSION} -linux-${TARGETARCH} .deb"
1620rclone --version
You can’t perform that action at this time.
0 commit comments