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
c294e81e
Commit
c294e81e
authored
Jul 03, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.57.12
parent
8414aef1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
7 deletions
+26
-7
epm.sh
packed/epm.sh
+21
-5
serv.sh
packed/serv.sh
+5
-2
No files found.
packed/epm.sh
View file @
c294e81e
...
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.57.1
0
"
EPMVERSION
=
"3.57.1
2
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
@@ -11529,6 +11529,7 @@ rsync_alt_contents_index()
{
local
URL
=
"
$1
"
local
TD
=
"
$2
"
local
res
assure_exists rsync
mkdir
-p
"
$(
dirname
"
$TD
"
)
"
if
[
-n
"
$verbose
"
]
;
then
...
...
@@ -11536,6 +11537,9 @@ rsync_alt_contents_index()
else
a
=
rsync
--partial
--inplace
$3
-a
--progress
"
$URL
"
"
$TD
"
>
/dev/null 2>/dev/null
fi
res
=
$?
sudocmd
chmod
a+rw
"
$TD
"
return
$res
}
get_url_to_etersoft_mirror
()
...
...
@@ -13303,7 +13307,10 @@ case "$DISTRIB_ID" in
echo
"
$VERSION
"
|
grep
-q
"c9f3 branch"
&&
DISTRIB_RELEASE
=
"c9f3"
DISTRIB_CODENAME
=
"
$DISTRIB_RELEASE
"
# FIXME: fast hack for fallback: 10.1 -> p10 for /etc/os-release
if
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
"^[0-9]"
&&
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
-v
"[0-9][0-9][0-9]"
;
then
if
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
"^0"
;
then
DISTRIB_RELEASE
=
"Sisyphus"
DISTRIB_CODENAME
=
"
$DISTRIB_RELEASE
"
elif
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
"^[0-9]"
&&
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
-v
"[0-9][0-9][0-9]"
;
then
DISTRIB_CODENAME
=
"
$(
echo
p
$DISTRIB_RELEASE
|
sed
-e
's|\..*||'
)
"
# TODO: change p10 to 10
DISTRIB_RELEASE
=
"
$DISTRIB_CODENAME
"
...
...
@@ -14004,6 +14011,8 @@ internal_tools_eget()
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
init_eget
()
{
PROGDIR
=
$(
dirname
"
$0
"
)
PROGNAME
=
$(
basename
"
$0
"
)
CMDSHELL
=
"/bin/sh"
...
...
@@ -14012,6 +14021,8 @@ if [ "$0" = "/dev/stdin" ] || [ "$0" = "sh" ] ; then
PROGDIR
=
""
PROGNAME
=
""
fi
}
fatal
()
...
...
@@ -15467,8 +15478,13 @@ create_archive()
# FIXME: get type by ext only
local type
=
"
$(
get_archive_type
"
$arc
"
)
"
case
"
$type
"
in
tar
)
#docmd $HAVE_7Z a -l $arc "$@"
docmd
tar
cvf
$arc
"
$@
"
;;
*
)
docmd
$HAVE_7Z
a
$arc
"
$@
"
# TODO: fix symlinks support
docmd
$HAVE_7Z
a
-l
$arc
"
$@
"
#fatal "Not yet supported creating of $type archives"
;;
esac
...
...
@@ -15578,7 +15594,7 @@ repack_archive()
local
ftype
=
"
$(
get_archive_type
"
$1
"
)
"
local
ttype
=
"
$(
get_archive_type
"
$2
"
)
"
case
"
$ftype
-
$ttype
"
in
tar.
*
-tar
)
tar.
*
-tar
|
tgz-tar
)
docmd
$HAVE_7Z
x
-so
"
$1
"
>
"
$2
"
;;
tar-tar.
*
)
...
...
@@ -15588,7 +15604,7 @@ repack_archive()
docmd
$HAVE_7Z
x
-so
"
$1
"
|
$HAVE_7Z
a
-si
"
$2
"
;;
*
)
fatal
"Not yet supported repack of
$ftype
-
$ttype
archives"
fatal
"Not yet supported repack of
$ftype
-
$ttype
archives
in 7z mode (try install patool)
"
;;
esac
...
...
packed/serv.sh
View file @
c294e81e
...
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.57.1
0
"
EPMVERSION
=
"3.57.1
2
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
@@ -2091,7 +2091,10 @@ case "$DISTRIB_ID" in
echo
"
$VERSION
"
|
grep
-q
"c9f3 branch"
&&
DISTRIB_RELEASE
=
"c9f3"
DISTRIB_CODENAME
=
"
$DISTRIB_RELEASE
"
# FIXME: fast hack for fallback: 10.1 -> p10 for /etc/os-release
if
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
"^[0-9]"
&&
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
-v
"[0-9][0-9][0-9]"
;
then
if
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
"^0"
;
then
DISTRIB_RELEASE
=
"Sisyphus"
DISTRIB_CODENAME
=
"
$DISTRIB_RELEASE
"
elif
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
"^[0-9]"
&&
echo
"
$DISTRIB_RELEASE
"
|
grep
-q
-v
"[0-9][0-9][0-9]"
;
then
DISTRIB_CODENAME
=
"
$(
echo
p
$DISTRIB_RELEASE
|
sed
-e
's|\..*||'
)
"
# TODO: change p10 to 10
DISTRIB_RELEASE
=
"
$DISTRIB_CODENAME
"
...
...
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