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
867110ae
Commit
867110ae
authored
May 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assure_exists(): make interactive by default, mark as auto installed (ALT bug 42240)
parent
9dda124b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
epm-assure
bin/epm-assure
+5
-1
epm-sh-functions
bin/epm-sh-functions
+5
-0
No files found.
bin/epm-assure
View file @
867110ae
...
...
@@ -97,7 +97,11 @@ epm_assure()
# can't be used in epm ei case
#docmd epm --auto install $PACKAGE || return
load_helper epm-install
(
repack
=
''
non_interactive
=
1
pkg_names
=
"
$PACKAGE
"
pkg_files
=
''
pkg_urls
=
''
epm_install
)
||
return
(
repack
=
''
pkg_names
=
"
$PACKAGE
"
pkg_files
=
''
pkg_urls
=
''
epm_install
)
||
return
# https://bugzilla.altlinux.org/42240
load_helper epm-mark
epm_mark_auto
"
$PACKAGE
"
# no check if we don't need a version
[
-n
"
$PACKAGEVERSION
"
]
||
return
0
...
...
bin/epm-sh-functions
View file @
867110ae
...
...
@@ -564,6 +564,11 @@ assure_exists()
load_helper epm-assure
local
package
=
"
$2
"
[
-n
"
$package
"
]
||
package
=
"
$(
__get_package_for_command
"
$1
"
)
"
# ask for install: https://bugzilla.altlinux.org/42240
local
ask
=
''
[
-n
"
$non_interactive
"
]
||
ask
=
1
(
direct
=
''
interactive
=
$ask
epm_assure
"
$1
"
$package
$3
)
||
fatal
}
...
...
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