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
5fb77cf4
Commit
5fb77cf4
authored
May 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.55.8
parent
4f476535
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
epm.sh
packed/epm.sh
+0
-0
serv.sh
packed/serv.sh
+11
-7
No files found.
packed/epm.sh
View file @
5fb77cf4
This diff is collapsed.
Click to expand it.
packed/serv.sh
View file @
5fb77cf4
...
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.55.
7
"
EPMVERSION
=
"3.55.
8
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
@@ -500,13 +500,14 @@ esu()
else
# just shell
showcmd
"su -"
exec
su -
a
=
exec
su -
fi
fi
set_pm_type
escape_args
()
{
local
output
=
''
...
...
@@ -529,11 +530,11 @@ esu()
#info "Enter root password:"
if
[
-n
"
$*
"
]
;
then
[
-n
"
$quiet
"
]
||
showcmd
"su - -c
$escaped
"
exec
su -
-c
"
$escaped
"
a
=
exec
su -
-c
"
$escaped
"
else
# just shell
showcmd
"su -"
exec
su -
a
=
exec
su -
fi
fi
...
...
@@ -557,10 +558,13 @@ regexp_subst()
assure_exists
()
{
local
package
=
"
$2
"
local
textpackage
=
[
-n
"
$package
"
]
||
package
=
"
$(
__get_package_for_command
"
$1
"
)
"
[
-n
"
$3
"
]
&&
textpackage
=
" >=
$3
"
(
direct
=
''
epm_assure
"
$1
"
$package
$3
)
||
fatal
"Can't assure in '
$1
' command from
$package$textpackage
package"
# ask for install: https://bugzilla.altlinux.org/42240
local
ask
=
''
[
-n
"
$non_interactive
"
]
||
ask
=
1
(
direct
=
''
interactive
=
$ask
epm_assure
"
$1
"
$package
$3
)
||
fatal
}
assure_exists_erc
()
...
...
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