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
fc209ee4
Commit
fc209ee4
authored
May 14, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm install: improve comments
parent
7f2a9efa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
epm-install
bin/epm-install
+8
-7
No files found.
bin/epm-install
View file @
fc209ee4
...
...
@@ -455,14 +455,14 @@ epm_install()
# TODO: for some packages with dependencies apt will ask later again
fi
# TODO: put it after empty install list checking?
if
[
-n
"
$direct
"
]
&&
[
-z
"
$repack
"
]
;
then
# it will put pkg_urls into pkg_files and reconstruct pkg_filenames
__handle_direct_install
fi
# if possible, it will put pkg_urls into pkg_files and reconstruct pkg_filenames
if
[
-n
"
$pkg_urls
"
]
;
then
load_helper epm-download
# it will put downloaded by pkg_urls packages to pkg_files and reconstruct pkg_filenames
__handle_pkg_urls_to_install
fi
...
...
@@ -476,10 +476,10 @@ epm_install()
#local names="$(echo $pkg_names | exp_with_arch_suffix | filter_out_installed_packages)"
local
files
=
"
$(
echo
$pkg_files
| filter_out_installed_packages
)
"
# can be empty only after
skip install
ed
# can be empty only after
all installed packages were skipp
ed
if
[
-z
"
$files$names
"
]
;
then
# TODO: assert $skip_installed
[
-n
"
$verbose
"
]
&&
info
"Skip empty install list (filtered out)"
[
-n
"
$verbose
"
]
&&
info
"Skip empty install list (filtered out
, all requested packages is already installed
)"
# FIXME: see to_remove below
return
0
fi
...
...
@@ -500,16 +500,17 @@ epm_install()
;;
esac
[
-z
"
$files
"
]
&&
debug
"Skip empty install files list"
&&
return
0
# save files before install and repack
if
[
-n
"
$download_only
"
]
&&
[
-n
"
$files
"
]
;
then
if
[
-n
"
$download_only
"
]
;
then
# save files to the current dir before install and repack
echo
cp
-v
$files
"
$EPMCURDIR
"
return
fi
# repack binary files
if
[
-n
"
$repack
"
]
;
then
# repack binary files if asked
__epm_repack
$files
||
return
files
=
"
$repacked_pkgs
"
fi
...
...
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