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
b07b295a
Commit
b07b295a
authored
Mar 12, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.64.13
parent
2ff0e735
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
epm.sh
packed/epm.sh
+0
-0
serv.sh
packed/serv.sh
+11
-5
No files found.
packed/epm.sh
View file @
b07b295a
This diff is collapsed.
Click to expand it.
packed/serv.sh
View file @
b07b295a
...
...
@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.64.1
2
"
EPMVERSION
=
"3.64.1
3
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
@@ -709,6 +709,12 @@ esu()
fi
}
__convert_glob__to_regexp
()
{
# translate glob to regexp
echo
"
$1
"
|
sed
-e
"s|
\*
|.*|g"
-e
"s|?|.|g"
}
regexp_subst
()
{
local
expression
=
"
$1
"
...
...
@@ -2301,10 +2307,10 @@ esac
case
"
$DISTRIB_ID
"
in
"ALTLinux"
)
echo
"
$VERSION
"
|
grep
-q
"c9.* branch"
&&
DISTRIB_RELEASE
=
"c9"
echo
"
$VERSION
"
|
grep
-q
"c9f1 branch"
&&
DISTRIB_RELEASE
=
"c9f1"
echo
"
$VERSION
"
|
grep
-q
"c9f2 branch"
&&
DISTRIB_RELEASE
=
"c9f2
"
echo
"
$VERSION
"
|
grep
-q
"c9f3 branch"
&&
DISTRIB_RELEASE
=
"c9f3"
echo
"
$VERSION
"
|
grep
-q
"c9
\
.
* branch"
&&
DISTRIB_RELEASE
=
"c9"
if
echo
"
$VERSION
"
|
grep
-q
-E
"c[0-9]+f[1-9] branch"
;
then
DISTRIB_RELEASE
=
"
$(
echo
"
$VERSION
"
|
sed
's| branch||'
)
"
fi
DISTRIB_CODENAME
=
"
$DISTRIB_RELEASE
"
# FIXME: fast hack for fallback: 10.1 -> p10 for /etc/os-release
if
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
"^0"
;
then
...
...
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