File: sync-purl-test-suite-data.sh

package info (click to toggle)
liburi-packageurl-perl 2.22-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 276 kB
  • sloc: perl: 1,447; sh: 45; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# sync-purl-test-suite-data - Sync the PackageURL test suite data

# (C) 2024, Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>

cd $(dirname $0) ; CWD=$(pwd)

echo "Remove old PackageURL test suite file"
rm test-suite-data.json

echo "Download new PackageURL test suite file"
wget https://raw.githubusercontent.com/package-url/purl-spec/master/test-suite-data.json

exit 0