Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
etersoft
eepm
Commits
4921871d
Commit
4921871d
authored
Apr 27, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm list --available: use cached list for --short, don't fallback to package manager with --direct
parent
1839354f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
epm-list_available
bin/epm-list_available
+13
-0
No files found.
bin/epm-list_available
View file @
4921871d
...
...
@@ -41,6 +41,19 @@ epm_list_available()
return
fi
# use cache we got during epm update
# TODO: update from this place if obsoleted
if
[
-n
"
$short
"
]
;
then
if
[
-s
$epm_vardir
/available-packages
]
;
then
cat
$epm_vardir
/available-packages
return
elif
[
-n
"
$direct
"
]
;
then
# don't go in long retrieving if --direct is used
return
fi
fi
case
$PMTYPE
in
apt-
*
)
warmup_dpkgbase
...
...
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