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
3d90981d
Commit
3d90981d
authored
Jun 16, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve aptU — skip glibc/stdc++ libs and lib versioning
parent
d0023749
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
aptU
bin/aptU
+4
-4
No files found.
bin/aptU
View file @
3d90981d
...
...
@@ -30,7 +30,7 @@ export LC_ALL=C
get_requires
()
{
rpm
--requires
$@
|
grep
-v
rpmlib |
cut
-f1
-d
"
"
|
sort
-u
rpm
--requires
$@
|
cut
-f1
-d
" "
|
sed
-e
"s|([A-Z].*||g
"
|
sort
-u
}
# Translate rpm requires to package names
...
...
@@ -60,8 +60,8 @@ install_by_requires()
fi
}
ALREADYHANDLEDAPT
=
"bash sh apt rpm
glibc-core glibc-locales glibc-preinstall
filesystem alt-gpgkeys"
ALREADYHANDLEDRPM
=
""
ALREADYHANDLEDAPT
=
"bash sh apt rpm filesystem alt-gpgkeys"
ALREADYHANDLEDRPM
=
"
rpmlib.* rtld libgcc_s
\.
.* libstdc
\+\+
.*
"
install_packages
()
{
local
ERROR
=
...
...
@@ -72,7 +72,7 @@ install_packages()
$SUDO
apt-get
install
$LIST
ALREADYHANDLEDAPT
=
"
$ALREADYHANDLEDAPT
$LIST
"
REQLIST
=
"
$(
get_requires
$LIST
)
"
REQLIST
=
$(
do
_exclude_list
"
$ALREADYHANDLEDRPM
"
"
$REQLIST
"
)
REQLIST
=
$(
regexp
_exclude_list
"
$ALREADYHANDLEDRPM
"
"
$REQLIST
"
)
test
-n
"
$REQLIST
"
||
{
echog
"There is no more req packages to install"
;
return
;
}
install_by_requires
$REQLIST
...
...
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