From 9bf3c49ae9b4557ae4948172a16dff195aa2e801 Mon Sep 17 00:00:00 2001 From: "dennis@bratac.ausil.us" Date: Mon, 3 Dec 2007 12:58:35 -0600 Subject: attempt to autotoolise --- scripts/fedora-packager-setup.sh | 129 --------------------------------------- 1 file changed, 129 deletions(-) delete mode 100644 scripts/fedora-packager-setup.sh (limited to 'scripts/fedora-packager-setup.sh') diff --git a/scripts/fedora-packager-setup.sh b/scripts/fedora-packager-setup.sh deleted file mode 100644 index 92faf28..0000000 --- a/scripts/fedora-packager-setup.sh +++ /dev/null @@ -1,129 +0,0 @@ -#!/bin/bash - -set -e - -function check_wget() { - if [ ! -f /usr/bin/wget ]; then - echo "You must have wget installed to download the required CA certificates" - echo "Please run \"yum install wget\" as root, and re-run this script" - exit 1 - fi -} - -echo "Setting up Koji client..." - -if [ ! -f ~/.fedora.cert ]; then - echo "You need a client certificate from the Fedora Account System" - echo "Please download one from https://admin.fedoraproject.org/accounts/gen-cert.cgi" - echo "Save it to ~/.fedora.cert and re-run this script" - exit 1 -fi - -if [ ! -f ~/.fedora-upload-ca.cert ]; then - check_wget - /usr/bin/wget -q "https://admin.fedoraproject.org/accounts/fedora-upload-ca.cert" -O ~/.fedora-upload-ca.cert -fi - -if [ ! -f ~/.fedora-server-ca.cert ]; then - check_wget - /usr/bin/wget -q "https://admin.fedoraproject.org/accounts/fedora-server-ca.cert" -O ~/.fedora-server-ca.cert -fi - -if [ ! -d ~/.koji ]; then - mkdir ~/.koji -fi - -# remove existing contents of ~/.koji to avoid confusion -rm -f ~/.koji/* - -cat > ~/.koji/config < ~/.koji/$arch-config < Preferences -> Advanced -Click "View Certificates" -On "Your Certificates" tab, click "Import" -Select ~/fedora-browser-cert.p12 -Type the export passphrase you chose earlier - -Once imported, you should see a certificate named "Fedora Project". -Your username should appear underneath this. - -You should now be able to click the "login" link at http://koji.fedoraproject.org/koji/ successfully. -EOF -- cgit