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
a1f53f33
Commit
a1f53f33
authored
Dec 14, 2008
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgp: fix print_list for concrete system
parent
9c6ed9f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
rpmgp
bin/rpmgp
+7
-6
No files found.
bin/rpmgp
View file @
a1f53f33
...
...
@@ -95,11 +95,11 @@ check_name()
exit
1
fi
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
#echo "Please type a full name of the package"
print_list
$NLIST
return
1
fi
#
print_list $NLIST
#
return 1
#
fi
if
[
-z
"
$NLIST
"
]
;
then
echo
"
$1
: Not found"
...
...
@@ -172,7 +172,7 @@ while getopts :habcdlnrs opt; do
case
$opt
in
h
)
phelp
;
exit
0
;;
a
)
ALLSYSTEM
=
1
;;
b
)
INSTALLB
Y
NARY
=
1
;;
b
)
INSTALLB
I
NARY
=
1
;;
c
)
CHECKONLINE
=
1
;;
d
)
DOWNLOADALL
=
1
;;
l
)
LISTREQS
=
1
;;
...
...
@@ -221,7 +221,7 @@ test -z "$LISTARGS" && fatal "Please run with spec/package name"
# - []
# install binary packages
if
[
-n
"
$INSTALLB
Y
NARY
"
]
;
then
if
[
-n
"
$INSTALLB
I
NARY
"
]
;
then
parse_cmd_pre
"
$@
"
pack_src_rpm
$LISTRPMARGS
echog
"Running apt-get for install needed packages for
$LISTBUILT
"
...
...
@@ -265,6 +265,7 @@ if [ -n "$2" ] ; then
IDX
=
`
get_system_idx
"
$1
"
`
if
[
-n
"
$IDX
"
]
;
then
check_system
$IDX
print_list
$NLIST
else
#fatal "Unknown system '$1', use rpmgp -s for get list"
NAME
=
...
...
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