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
Nurlan
eepm
Commits
1a0fae27
Commit
1a0fae27
authored
Aug 15, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: add ACCEPT_EULA=y for install deb packages in non interactive mode
parent
9d67aa27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
epm
bin/epm
+2
-2
epm-install
bin/epm-install
+2
-3
No files found.
bin/epm
View file @
1a0fae27
...
@@ -73,7 +73,7 @@ print_version()
...
@@ -73,7 +73,7 @@ print_version()
{
{
echo
"EPM package manager version @VERSION@ https://wiki.etersoft.ru/Epm"
echo
"EPM package manager version @VERSION@ https://wiki.etersoft.ru/Epm"
echo
"Running on
$(
$DISTRVENDOR
-e
)
('
$PMTYPE
' package manager uses '
$PKGFORMAT
' package format)"
echo
"Running on
$(
$DISTRVENDOR
-e
)
('
$PMTYPE
' package manager uses '
$PKGFORMAT
' package format)"
echo
"Copyright (c) Etersoft 2012-202
1
"
echo
"Copyright (c) Etersoft 2012-202
2
"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
}
}
...
@@ -95,7 +95,7 @@ noscripts=
...
@@ -95,7 +95,7 @@ noscripts=
short
=
short
=
direct
=
direct
=
sort
=
sort
=
non_interactive
=
non_interactive
=
$EPM_AUTO
force_yes
=
force_yes
=
skip_installed
=
skip_installed
=
skip_missed
=
skip_missed
=
...
...
bin/epm-install
View file @
1a0fae27
...
@@ -178,11 +178,10 @@ epm_ni_install_names()
...
@@ -178,11 +178,10 @@ epm_ni_install_names()
case
$PMTYPE
in
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
apt-rpm|apt-dpkg
)
export
DEBIAN_FRONTEND
=
noninteractive
sudocmd
ACCEPT_EULA
=
y
DEBIAN_FRONTEND
=
noninteractive apt-get
-y
$noremove
--force-yes
-o
APT::Install::VirtualVersion
=
true
-o
APT::Install::Virtual
=
true
-o
Dpkg::Options::
=
"--force-confdef"
-o
Dpkg::Options::
=
"--force-confold"
$APTOPTIONS
install
$@
sudocmd apt-get
-y
$noremove
--force-yes
-o
APT::Install::VirtualVersion
=
true
-o
APT::Install::Virtual
=
true
-o
Dpkg::Options::
=
"--force-confdef"
-o
Dpkg::Options::
=
"--force-confold"
$APTOPTIONS
install
$@
return
;;
return
;;
aptitude-dpkg
)
aptitude-dpkg
)
sudocmd aptitude
-y
install
$@
sudocmd
ACCEPT_EULA
=
y
DEBIAN_FRONTEND
=
noninteractive
aptitude
-y
install
$@
return
;;
return
;;
yum-rpm
)
yum-rpm
)
sudocmd yum
-y
$YUMOPTIONS
install
$(
echo
"
$*
"
| exp_with_arch_suffix
)
sudocmd yum
-y
$YUMOPTIONS
install
$(
echo
"
$*
"
| exp_with_arch_suffix
)
...
...
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