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
cbe5c85c
Commit
cbe5c85c
authored
Apr 15, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.51.0
parent
fd288e12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
epm.sh
packed/epm.sh
+0
-0
serv.sh
packed/serv.sh
+15
-9
No files found.
packed/epm.sh
View file @
cbe5c85c
This diff is collapsed.
Click to expand it.
packed/serv.sh
View file @
cbe5c85c
...
...
@@ -283,20 +283,21 @@ clean_store_output()
epm
()
{
if
[
-n
"
$PROGNAME
"
]
;
then
if
[
"
$EPMMODE
"
=
"pipe"
]
;
then
epm_main
--inscript
"
$@
"
return
fi
# run epm again to full initialization
local
bashopt
=
''
[
-n
"
$verbose
"
]
&&
bashopt
=
'-x'
$CMDSHELL
$bashopt
$PROGDIR
/
$PROGNAME
--inscript
"
$@
"
else
epm_main
--inscript
"
$@
"
fi
}
sudoepm
()
{
[
-n
"
$PROGNAME
"
]
||
fatal
"Can't use sudo epm call from the piped script"
[
"
$EPMMODE
"
=
"pipe"
]
&&
fatal
"Can't use sudo epm call from the piped script"
local
bashopt
=
''
[
-n
"
$verbose
"
]
&&
bashopt
=
'-x'
...
...
@@ -1630,9 +1631,10 @@ case $DISTRIB_ID in
CMD
=
"conary"
;;
Windows
)
CMD
=
"appget"
is_command
$CMD
||
CMD
=
"chocolatey"
is_command
$CMD
||
CMD
=
"winget"
is_command winget
&&
echo
"winget"
&&
return
is_command appget
&&
CMD
=
"appget"
is_command chocolatey
&&
CMD
=
"chocolatey"
is_command npackdcl
&&
CMD
=
"npackd"
;;
MacOS
)
CMD
=
"homebrew"
...
...
@@ -1645,6 +1647,7 @@ case $DISTRIB_ID in
;;
Android
)
CMD
=
"android"
# TODO: CMD="termux-pkg"
;;
Cygwin
)
CMD
=
"aptcyg"
...
...
@@ -1950,6 +1953,9 @@ if distro altlinux-release ; then
elif
has Citron
;
then
DISTRIB_RELEASE
=
"2.4"
fi
PRETTY_NAME
=
"
$(
cat
/etc/altlinux-release
)
"
DISTRIB_CODENAME
=
"
$DISTRIB_RELEASE
"
DISTRO_NAME
=
"
$DISTRIB_ID
"
DISTRIB_FULL_RELEASE
=
"
$DISTRIB_RELEASE
"
elif
distro gentoo-release
;
then
DISTRIB_ID
=
"Gentoo"
...
...
@@ -2564,7 +2570,7 @@ print_version()
local
on_text
=
"(host system)"
local
virt
=
"
$(
$DISTRVENDOR
-i
)
"
[
"
$virt
"
=
"(unknown)"
]
||
[
"
$virt
"
=
"(host system)"
]
||
on_text
=
"(under
$virt
)"
echo
"Service manager version 3.5
0.1
https://wiki.etersoft.ru/Epm"
echo
"Service manager version 3.5
1.0
https://wiki.etersoft.ru/Epm"
echo
"Running on
$(
$DISTRVENDOR
-e
)
$on_text
with
$SERVICETYPE
"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
...
...
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