Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
e5efe77c
Commit
e5efe77c
authored
8 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Fixed APT initialization.
parent
487cf92b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
23.Initialize_APT/0_setup.sh
+2
-3
2 additions, 3 deletions
23.Initialize_APT/0_setup.sh
with
2 additions
and
3 deletions
23.Initialize_APT/0_setup.sh
+
2
−
3
View file @
e5efe77c
...
...
@@ -22,8 +22,7 @@ apt-get install -y aptitude apt-transport-https
apt-get dist-upgrade
-y
# modify sources.list to use ubicast cache
grep
${
APT_CACHE_HOST
}
/etc/apt/sources.list
if
[
$?
=
1
]
;
then
if
(
!
grep
${
APT_CACHE_HOST
}
/etc/apt/sources.list
)
;
then
sed
-i
"s@http://@http://
${
APT_CACHE_HOST
}
/@"
/etc/apt/sources.list
fi
...
...
@@ -46,4 +45,4 @@ APT::Periodic::Unattended-Upgrade "1";
EOF
# resolvconf
apt
itude
purge
-y
resolvconf
apt
-get
purge
-y
resolvconf
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment