We use several steps to extract and retrieve a specific qsv file for DP+.
|
cmd!(sh, "wget https://github.com/dathere/qsv/releases/download/4.0.0/qsv-4.0.0-x86_64-unknown-linux-gnu.zip").run()?; |
|
cmd!(sh, "sudo apt install unzip -y").run()?; |
|
cmd!(sh, "unzip qsv-4.0.0-x86_64-unknown-linux-gnu.zip").run()?; |
|
cmd!(sh, "sudo rm -rf qsv-4.0.0-x86_64-unknown-linux-gnu.zip").run()?; |
|
cmd!(sh, "sudo mv ./qsvdp_glibc-2.31 /usr/local/bin/qsvdp").run()?; |
This could be improved by having the single file hosted somewhere then retrieving it from there instead of the ZIP full of qsv files that is over 300MB in size.
We use several steps to extract and retrieve a specific qsv file for DP+.
ckan-devstaller/src/main.rs
Lines 348 to 352 in 3999143
This could be improved by having the single file hosted somewhere then retrieving it from there instead of the ZIP full of qsv files that is over 300MB in size.