Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
5b2c1aa1
Commit
5b2c1aa1
authored
Mar 25, 2011
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgp: allow run without params
parent
6319fd8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
rpmgp
bin/rpmgp
+7
-3
No files found.
bin/rpmgp
View file @
5b2c1aa1
...
@@ -86,8 +86,9 @@ get_system_idx()
...
@@ -86,8 +86,9 @@ get_system_idx()
check_name
()
check_name
()
{
{
if
[
-z
"
$1
"
]
;
then
if
[
-z
"
$1
"
]
;
then
echo
"Error: missed package param"
return
exit
1
#echo "Error: missed package param"
#exit 1
fi
fi
NLIST
=
`
cat
$LIST
|
grep
-i
"
$1
"
`
NLIST
=
`
cat
$LIST
|
grep
-i
"
$1
"
`
# if [ `cat $LIST | list_filter | grep -i $1 | wc -l` -gt 1 ] ; then
# if [ `cat $LIST | list_filter | grep -i $1 | wc -l` -gt 1 ] ; then
...
@@ -211,7 +212,10 @@ if [ -n "$UPDATECACHE" ] ; then
...
@@ -211,7 +212,10 @@ if [ -n "$UPDATECACHE" ] ; then
fi
fi
PKGNAME
=
$(
strip_spaces
$LISTRPMARGS
$LISTNAMES
)
PKGNAME
=
$(
strip_spaces
$LISTRPMARGS
$LISTNAMES
)
test
-z
"
$PKGNAME
"
&&
fatal
"Please run with spec/package name"
if
[
-z
"
$ALLSYSTEM$UPDATECACHE
"
]
;
then
test
-z
"
$PKGNAME
"
&&
fatal
"Please run with spec/package name"
fi
# список названий систем, адресов (с зеркалами?), и режимов фильтрации
# список названий систем, адресов (с зеркалами?), и режимов фильтрации
# название кэш-файла строить из названия системы
# название кэш-файла строить из названия системы
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment