#!/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 evolution-data-server mod_nss mod_revocator nss_compat_ossl openswan 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}"