/[adm]/puppet/modules/mga-advisories/templates/update_script
ViewVC logotype

Contents of /puppet/modules/mga-advisories/templates/update_script

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3438 - (show annotations) (download)
Tue Apr 8 09:00:08 2014 UTC (9 years, 11 months ago) by colin
File size: 201 byte(s)
mga-advisories: Attempt to prevent running mga-advisories script as root.

1 #!/bin/sh
2 set -e
3
4 if [ "$UID" = "0" ]; then
5 echo "You are root. You shouldn't be. Try being <%= @mgaadv_login %> instead." >&2
6 exit 1
7 fi
8
9 cd <%= @advisories_dir %>
10 svn up
11 exec /usr/bin/mgaadv mksite

  ViewVC Help
Powered by ViewVC 1.1.30