File: get-test-data

package info (click to toggle)
multiqc 1.21%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 30,168 kB
  • sloc: python: 52,323; javascript: 7,064; sh: 76; makefile: 24
file content (7 lines) | stat: -rwxr-xr-x 366 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/bin/sh

wget -N https://multiqc.info/examples/rna-seq/data.zip
unzip -q data.zip
tarball=$(dpkg-parsechangelog --file ../changelog | awk '/^Source:/ {print $2}')_$(dpkg-parsechangelog --file ../changelog | awk '/^Version:/ {print $2}' | cut -f1 -d-).orig-debian-tests-data.tar.xz
tar --owner=root --group=root --mode=a+rX -caf $tarball data
rm -rf data.zip data/