David Learns Programming

tatt pre test

#!/bin/bash
# run repoman
# check for open bugs
 
if [ "$1" != "" ]; then
. /etc/init.d/functions.sh
ebegin "x86 testing pre checks"
eend $?
 
cd /usr/portage/"$1"
repoman full
einfo "repoman completed"
eend $?
 
cd
 
bugz search -s all "$1"
einfo "bugz completed"
eend $?
 
else
    echo "Enter a package!"
fi