summaryrefslogtreecommitdiffstats
path: root/legacy-scripts/install-clients-deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'legacy-scripts/install-clients-deps.sh')
-rwxr-xr-xlegacy-scripts/install-clients-deps.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/legacy-scripts/install-clients-deps.sh b/legacy-scripts/install-clients-deps.sh
new file mode 100755
index 0000000..5c31eb7
--- /dev/null
+++ b/legacy-scripts/install-clients-deps.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+# Defaults
+TARGET=16
+ARCH=x86_64
+
+while getopts i:j: opt
+do
+ case $opt in
+ i) TARGET="$OPTARG";;
+ j) ARCH="$OPTARG";;
+ ?) printf "Usage: %s: [-i dist] [-j arch]\n" $0
+ exit 2;;
+ esac
+done
+
+export dist=${TARGET}
+export arch=${ARCH}
+
+cc="crypto-utils curl xulrunner";
+
+for c in $cc; do
+ pushd ${c}
+ fedpkg clean
+ fedpkg srpm
+ mock -r fedora-${dist}-${arch} --copyin ${c}-*.src.rpm /tmp
+ mock -r fedora-${dist}-${arch} --installdeps ${c}-*.src.rpm
+ popd
+done
+
+