diff options
-rwxr-xr-x | modules/buildsystem/templates/submit_package | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/buildsystem/templates/submit_package b/modules/buildsystem/templates/submit_package deleted file mode 100755 index 995a5ac6..00000000 --- a/modules/buildsystem/templates/submit_package +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -packagersgroup="<%= packagers_group %>" -createsrpm="<%= createsrpm_path %>" - -function isingroup() -{ - grp="$1" - for group in `groups` - do if [ "$grp" = "$group" ] - then - return 0 - fi - done - return 1 -} - -if ! isingroup "$packagersgroup" -then - echo "You are not in $packagersgroup group." - exit 1 -fi - -exec $createsrpm $* - |