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
70ecd238
You need to sign in or sign up before continuing.
Commit
70ecd238
authored
Aug 11, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repl: do not add 32bit if already exists
parent
fb7c6e7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
repl
share/eterbuild/functions/repl
+4
-4
No files found.
share/eterbuild/functions/repl
View file @
70ecd238
...
...
@@ -27,25 +27,25 @@ add_32bit_requires()
# http://www.rpm.org/wiki/PackagerDocs/ArchDependencies
# add (x86-32) to all -devel packages
for
i
in
$*
;
do
rhas
$GREP
"-devel
$"
&&
echo
"
$i
$i
(x86-32)"
&&
continue
rhas
"
$GREP
"
"-devel$"
&&
!
rhas
"
$i
"
"(x86-32)
$"
&&
echo
"
$i
$i
(x86-32)"
&&
continue
echo
"
$i
"
done
| xargs
-n
1000
echo
elif
[
"
$DISTRNAME
"
=
"Ubuntu"
]
&&
version_more_version
$DISTRVERSION
12.04
||
[
"
$DISTRNAME
"
=
"Debian"
]
&&
version_more_version
$DISTRVERSION
7.0
;
then
# i386 on Debian/Ubuntu: # add :i386 to all -dev packages
for
i
in
$*
;
do
rhas
$GREP
"-devel
$"
&&
echo
"
$i
$i
:i386"
&&
continue
rhas
"
$GREP
"
"-devel$"
&&
!
rhas
"
$i
"
":i386
$"
&&
echo
"
$i
$i
:i386"
&&
continue
echo
"
$i
"
done
| xargs
-n
1000
echo
elif
[
"
$DISTRNAME
"
=
"ArchLinux"
]
;
then
# i386 on ArchLinux: add lib32- to all lib packages
for
i
in
$*
;
do
rhas
$GREP
"^lib
"
&&
echo
"lib32-
$i
"
&&
continue
rhas
"
$GREP
"
"^lib"
&&
!
rhas
"
$i
"
"^lib32-
"
&&
echo
"lib32-
$i
"
&&
continue
echo
"
$i
"
done
| xargs
-n
1000
echo
elif
[
"
$DISTRNAME
"
=
"SUSE"
]
||
[
"
$DISTRNAME
"
=
"SLED"
]
||
[
"
$DISTRNAME
"
=
"SLES"
]
;
then
# i386 on SUSE or SLED : # add -32bit to all lib packages
for
i
in
$*
;
do
rhas
$GREP
"^lib
"
&&
echo
"
$i
-32bit"
&&
continue
rhas
"
$GREP
"
"^lib"
&&
!
rhas
"
$i
"
"-32bit$
"
&&
echo
"
$i
-32bit"
&&
continue
echo
"
$i
"
done
| xargs
-n
1000
echo
else
...
...
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