From a0e2c8c32b8aa768d40dae508aa8828bee60cfbb Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 21 Jun 2011 15:28:07 +0000 Subject: add script to move update from updates_testing to updates repository --- functions | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 functions (limited to 'functions') diff --git a/functions b/functions new file mode 100644 index 0000000..d612ce3 --- /dev/null +++ b/functions @@ -0,0 +1,16 @@ +#!/bin/sh + +. /etc/mgatools.conf + +function isingroup() +{ + grp="$1" + for group in `groups` + do if [ "$grp" = "$group" ] + then + return 0 + fi + done + return 1 +} + -- cgit v1.2.1