blob: 5a0be7baaa1c98e6391387027858ab3bf3501216 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/bash
# check out nspr, nss-util, nss-softokn, and nss
# check out also some clients of nss
remove_pkgs() {
for p in $1; do
rm -fr $p
done
}
#----------------------------------------------------------
nssPkgs="nspr nss-util nss-softokn nss"
clientPkgs="crypto-utils curl xulrunner"
# Defaults
TARGET=Rawhide
while getopts i: opt
do
case $opt in
i) TARGET="$OPTARG";;
?) printf "Usage: %s: [-i dist]\n" $0
exit 2;;
esac
done
export dist=${TARGET}
remove_pkgs "${nssPkgs}"
remove_pkgs "${clientPkgs}"
|