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
36640504
Commit
36640504
authored
Jun 23, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use /etc/apt/sources.list if missed in apt.conf
parent
afe442b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
hasher
share/eterbuild/functions/hasher
+1
-0
No files found.
share/eterbuild/functions/hasher
View file @
36640504
...
@@ -68,6 +68,7 @@ print_tmp_sourceslist()
...
@@ -68,6 +68,7 @@ print_tmp_sourceslist()
sed
-e
"s|
\"
/etc/.*apt/sources.list|
\"
$ETERBUILDETC
/apt/sources.list|g"
|
\
sed
-e
"s|
\"
/etc/.*apt/sources.list|
\"
$ETERBUILDETC
/apt/sources.list|g"
|
\
grep
"/sources.list"
|
sed
-e
's|.*"\(.*\)".*|\1|g'
`
grep
"/sources.list"
|
sed
-e
's|.*"\(.*\)".*|\1|g'
`
fi
fi
[
-n
"
$SLIST
"
]
||
SLIST
=
"/etc/apt/sources.list"
test
-r
"
$SLIST
"
||
fatal
"'
$SLIST
' - sources.list path from
$1
is missed"
test
-r
"
$SLIST
"
||
fatal
"'
$SLIST
' - sources.list path from
$1
is missed"
if
[
"
$BUILDARCH
"
=
"x86_64"
]
;
then
if
[
"
$BUILDARCH
"
=
"x86_64"
]
;
then
cat
"
$SLIST
"
|
sed
-e
"s|
\(
[ /]
\)
i[56]86|
\1
$BUILDARCH
|g"
cat
"
$SLIST
"
|
sed
-e
"s|
\(
[ /]
\)
i[56]86|
\1
$BUILDARCH
|g"
...
...
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