debian/get-nss.sh
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | # clean old checkout |
| 4 | git rm -rf nss |
| 5 | rm -rf nss |
| 6 | |
| 7 | git clone https://salsa.debian.org/mozilla-team/nss |
| 8 | rm -rf nss/.git* |
| 9 | |
| 10 | VERSION=`dpkg-parsechangelog -l nss/debian/changelog | grep Version | sed 's/.* //'` |
| 11 | |
| 12 | git add -f nss |
| 13 | git commit -m "Refresh nss |
| 14 | |
| 15 | Package version: $VERSION |
| 16 | " |