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
09038d9e
Commit
09038d9e
authored
Dec 16, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.14.6
parent
8002ab7d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
epm.sh
packed/epm.sh
+0
-0
serv.sh
packed/serv.sh
+5
-3
No files found.
packed/epm.sh
View file @
09038d9e
This diff is collapsed.
Click to expand it.
packed/serv.sh
View file @
09038d9e
...
@@ -1346,6 +1346,8 @@ rpmvendor()
...
@@ -1346,6 +1346,8 @@ rpmvendor()
[
"
$DISTRIB_ID
"
=
"TinyCoreLinux"
]
&&
echo
"tcl"
&&
return
[
"
$DISTRIB_ID
"
=
"TinyCoreLinux"
]
&&
echo
"tcl"
&&
return
[
"
$DISTRIB_ID
"
=
"VoidLinux"
]
&&
echo
"void"
&&
return
[
"
$DISTRIB_ID
"
=
"VoidLinux"
]
&&
echo
"void"
&&
return
[
"
$DISTRIB_ID
"
=
"OpenSUSE"
]
&&
echo
"suse"
&&
return
[
"
$DISTRIB_ID
"
=
"OpenSUSE"
]
&&
echo
"suse"
&&
return
[
"
$DISTRIB_ID
"
=
"openSUSETumbleweed"
]
&&
echo
"suse"
&&
return
[
"
$DISTRIB_ID
"
=
"openSUSELeap"
]
&&
echo
"suse"
&&
return
[
-n
"
$VENDOR_ID
"
]
&&
echo
"
$VENDOR_ID
"
&&
return
[
-n
"
$VENDOR_ID
"
]
&&
echo
"
$VENDOR_ID
"
&&
return
tolower
"
$DISTRIB_ID
"
tolower
"
$DISTRIB_ID
"
}
}
...
@@ -1418,7 +1420,7 @@ case $DISTRIB_ID in
...
@@ -1418,7 +1420,7 @@ case $DISTRIB_ID in
ArchLinux
)
ArchLinux
)
CMD
=
"pacman"
CMD
=
"pacman"
;;
;;
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux|Amzn|RedOS
)
Fedora|
FedoraLinux|
LinuxXP|ASPLinux|CentOS|RHEL|Scientific|GosLinux|Amzn|RedOS
)
CMD
=
"dnf-rpm"
CMD
=
"dnf-rpm"
which dnf 2>/dev/null
>
/dev/null
||
CMD
=
yum-rpm
which dnf 2>/dev/null
>
/dev/null
||
CMD
=
yum-rpm
[
"
$DISTRIB_ID
/
$DISTRIB_RELEASE
"
=
"CentOS/7"
]
&&
CMD
=
yum-rpm
[
"
$DISTRIB_ID
/
$DISTRIB_RELEASE
"
=
"CentOS/7"
]
&&
CMD
=
yum-rpm
...
@@ -1426,7 +1428,7 @@ case $DISTRIB_ID in
...
@@ -1426,7 +1428,7 @@ case $DISTRIB_ID in
Slackware
)
Slackware
)
CMD
=
"slackpkg"
CMD
=
"slackpkg"
;;
;;
SUSE|SLED|SLES
)
SUSE|SLED|SLES
|openSUSETumbleweed|openSUSELeap
)
CMD
=
"zypper-rpm"
CMD
=
"zypper-rpm"
;;
;;
ForesightLinux|rPathLinux
)
ForesightLinux|rPathLinux
)
...
@@ -2955,7 +2957,7 @@ print_version()
...
@@ -2955,7 +2957,7 @@ print_version()
local
on_text
=
"(host system)"
local
on_text
=
"(host system)"
local
virt
=
"
$(
$DISTRVENDOR
-i
)
"
local
virt
=
"
$(
$DISTRVENDOR
-i
)
"
[
"
$virt
"
=
"(unknown)"
]
||
[
"
$virt
"
=
"(host system)"
]
||
on_text
=
"(under
$virt
)"
[
"
$virt
"
=
"(unknown)"
]
||
[
"
$virt
"
=
"(host system)"
]
||
on_text
=
"(under
$virt
)"
echo
"Service manager version 3.14.
4
https://wiki.etersoft.ru/Epm"
echo
"Service manager version 3.14.
6
https://wiki.etersoft.ru/Epm"
echo
"Running on
$(
$DISTRVENDOR
-e
)
$on_text
with
$SERVICETYPE
"
echo
"Running on
$(
$DISTRVENDOR
-e
)
$on_text
with
$SERVICETYPE
"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"Copyright (c) Etersoft 2012-2021"
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."
...
...
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