commit 8ad8a6a04ee08805b72a6aae250381a9b2feed8f
Author: Xavier Lamien <laxathom(a)lxtnow.net>
Date: Fri Sep 7 12:57:43 2012 +0200
Grrrr, remove this plain pass from shell script
modules/cvs/files/admin-tools/addpackage-free.sh | 5 +----
.../cvs/files/admin-tools/addpackage-nonfree.sh | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/modules/cvs/files/admin-tools/addpackage-free.sh
b/modules/cvs/files/admin-tools/addpackage-free.sh
index 77997c4..1990f58 100755
--- a/modules/cvs/files/admin-tools/addpackage-free.sh
+++ b/modules/cvs/files/admin-tools/addpackage-free.sh
@@ -36,9 +36,6 @@ print_spacer () {
return 0
}
-update_packagers_list () {
- curl -k
https://rfsystem:GjeT5_r3Fp+@fas.rpmfusion.org/accounts/group/dump/cvsextras -o
$users &>/dev/null
-}
@@ -65,7 +62,7 @@ print_spacer
echo
# Check owner membership
-update_packagers_list
+get_packagers_list
FASNAME=`egrep $OWNERS $users|cut -d"," -f1|| echo "0"`
if [ -z $FASNAME ] ; then
echo -e "\nERROR: Owner [$OWNERS] not in packager membership or not in
FAS."
diff --git a/modules/cvs/files/admin-tools/addpackage-nonfree.sh
b/modules/cvs/files/admin-tools/addpackage-nonfree.sh
index 9724853..9d6e411 100755
--- a/modules/cvs/files/admin-tools/addpackage-nonfree.sh
+++ b/modules/cvs/files/admin-tools/addpackage-nonfree.sh
@@ -36,9 +36,6 @@ print_spacer () {
return 0
}
-update_packagers_list () {
- curl -k
https://rfsystem:GjeT5_r3Fp+@fas.rpmfusion.org/accounts/group/dump/cvsextras -o $users
&>/dev/null
-}
@@ -65,7 +62,7 @@ print_spacer
echo
# Check owner membership
-update_packagers_list
+get_packagers_list
FASNAME=`egrep $OWNERS $users|cut -d"," -f1|| echo "0"`
if [ -z $FASNAME ] ; then
echo -e "\nERROR: Owner [$OWNERS] not in packager membership or not in
FAS."