Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
379c458a
Commit
379c458a
authored
Mar 02, 2011
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-apkrepos: always update the index, best effort
parent
627a29ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
16 deletions
+3
-16
setup-apkrepos.in
setup-apkrepos.in
+3
-16
No files found.
setup-apkrepos.in
View file @
379c458a
...
...
@@ -301,21 +301,6 @@ update_apk_repositories() {
echo
"done."
}
prompt_update_apk
()
{
while
true
;
do
echo
-e
"
\n
Do you want to update repository indexes?"
echo
-n
"(You must be connected when using remote repositories.) [y/N]: "
default_read update_repo_indexes
"n"
case
"
$update_repo_indexes
"
in
[
yY]
)
echo
-n
"Updating repository indexes... "
apk update
-q
&&
echo
"done."
break
;;
[
nN]
)
break
;;
esac
done
}
# main
prompt_setup_method
...
...
@@ -335,4 +320,6 @@ if [ "$setup_method" != "e" ]; then
update_apk_repositories
fi
prompt_update_apk
echo
-n
"Updating repository indexes... "
apk update
-q
&&
echo
"done."
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