6 =head1 sgn_deploy - Deploy SGN site to current host
8 Use this script to deploy an already-created sgn-site debian package to the local machine.
10 This script requires "sudo" access.
16 die "Must specify path to debian package to deploy!" unless $deb;
17 die "$deb does not exist!" unless -e
$deb;
22 my $email = 'cxgn-devel@sgn.cornell.edu';
24 sudo dpkg -i $deb && sudo /etc/init.d/apache2 restart && mail -s "`hostname -s` updated to `basename $pkg`" $email < $pkg.changes
27 print "Deploying $deb with following command:\n$cmd\n";