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
9c024952
Commit
9c024952
authored
Jul 12, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.57.13
parent
b04958a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
epm.sh
packed/epm.sh
+14
-7
serv.sh
packed/serv.sh
+3
-3
No files found.
packed/epm.sh
View file @
9c024952
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.57.1
2
"
EPMVERSION
=
"3.57.1
3
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -6187,7 +6187,7 @@ __epm_play_download_epm_file()
...
@@ -6187,7 +6187,7 @@ __epm_play_download_epm_file()
__epm_play_initialize_ipfs
()
__epm_play_initialize_ipfs
()
{
{
if
[
!
-d
"
$(
dirname
"
$e
pm
_ipfs_db
"
)
"
]
;
then
if
[
!
-d
"
$(
dirname
"
$e
get
_ipfs_db
"
)
"
]
;
then
warning
"ipfs db dir
$eget_ipfs_db
does not exist, skipping IPFS mode"
warning
"ipfs db dir
$eget_ipfs_db
does not exist, skipping IPFS mode"
return
1
return
1
fi
fi
...
@@ -6202,13 +6202,13 @@ __epm_play_initialize_ipfs()
...
@@ -6202,13 +6202,13 @@ __epm_play_initialize_ipfs()
t
=
$(
mktemp
)
||
fatal
t
=
$(
mktemp
)
||
fatal
remove_on_exit
$t
remove_on_exit
$t
__epm_play_download_epm_file
"
$t
"
"eget-ipfs-db.txt"
||
warning
"Can't update IPFS DB"
__epm_play_download_epm_file
"
$t
"
"eget-ipfs-db.txt"
||
warning
"Can't update IPFS DB"
if
[
-s
"
$t
"
]
;
then
if
[
-s
"
$t
"
]
&&
[
-z
"
$EPM_IPFS_DB_UPDATE_SKIPPING
"
]
;
then
echo
>>
$t
echo
>>
$t
cat
$eget_ipfs_db
>>
$t
cat
$eget_ipfs_db
>>
$t
sort
-u
<
$t
|
grep
-v
"^$"
>
$eget_ipfs_db
sort
-u
<
$t
|
grep
-v
"^$"
>
$eget_ipfs_db
fi
fi
# the only one thing
ne
ed to enable IPFS in eget
# the only one thing
is need
ed to enable IPFS in eget
export
EGET_IPFS_DB
=
"
$eget_ipfs_db
"
export
EGET_IPFS_DB
=
"
$eget_ipfs_db
"
}
}
...
@@ -11538,7 +11538,7 @@ rsync_alt_contents_index()
...
@@ -11538,7 +11538,7 @@ rsync_alt_contents_index()
a
=
rsync
--partial
--inplace
$3
-a
--progress
"
$URL
"
"
$TD
"
>
/dev/null 2>/dev/null
a
=
rsync
--partial
--inplace
$3
-a
--progress
"
$URL
"
"
$TD
"
>
/dev/null 2>/dev/null
fi
fi
res
=
$?
res
=
$?
sudocmd
chmod
a+rw
"
$TD
"
[
-f
"
$TD
"
]
&&
sudocmd
chmod
a+rw
"
$TD
"
return
$res
return
$res
}
}
...
@@ -13774,8 +13774,8 @@ local EV=''
...
@@ -13774,8 +13774,8 @@ local EV=''
cat
<<
EOF
cat
<<
EOF
distro_info v
$PROGVERSION
$EV
: Copyright © 2007-2023 Etersoft
distro_info v
$PROGVERSION
$EV
: Copyright © 2007-2023 Etersoft
Pretty distro
name (--pretty):
$(
print_pretty_name
)
Pretty
name (--pretty):
$(
print_pretty_name
)
Distro name / version (--distro-name/
version):
$DISTRO_NAME
/
$DISTRIB_FULL_RELEASE$orig
(--distro-name / --distro-
version):
$DISTRO_NAME
/
$DISTRIB_FULL_RELEASE$orig
Base distro name (-d) / version (-v):
$(
print_name_version
)
Base distro name (-d) / version (-v):
$(
print_name_version
)
Vendor distro name (-s) / Repo name (-r):
$(
pkgvendor
)
/
$(
print_repo_name
)
Vendor distro name (-s) / Repo name (-r):
$(
pkgvendor
)
/
$(
print_repo_name
)
Package manager/type (-g/-p):
$(
pkgmanager
)
/
$(
pkgtype
)
Package manager/type (-g/-p):
$(
pkgmanager
)
/
$(
pkgtype
)
...
@@ -15011,6 +15011,10 @@ url_get_real_url()
...
@@ -15011,6 +15011,10 @@ url_get_real_url()
local
loc
local
loc
for
loc
in
$(
url_get_header
"
$URL
"
"Location"
|
tac
|
sed
-e
's| .*||'
)
;
do
for
loc
in
$(
url_get_header
"
$URL
"
"Location"
|
tac
|
sed
-e
's| .*||'
)
;
do
# hack for construct full url from related Location
if
echo
"
$loc
"
|
grep
-q
"^/"
;
then
loc
=
"
$(
concatenate_url_and_filename
"
$(
get_host_only
"
$URL
"
)
"
"
$loc
"
)
"
fi
if
!
is_strange_url
"
$loc
"
;
then
if
!
is_strange_url
"
$loc
"
;
then
echo
"
$loc
"
echo
"
$loc
"
return
return
...
@@ -17004,6 +17008,9 @@ check_option()
...
@@ -17004,6 +17008,9 @@ check_option()
--force-yes
)
# HELPOPT: force yes in a danger cases (f.i., during release upgrade)
--force-yes
)
# HELPOPT: force yes in a danger cases (f.i., during release upgrade)
force_yes
=
"--force-yes"
force_yes
=
"--force-yes"
;;
;;
--no-check-certificate
)
fatal
"--no-check-certificate is a wget option. It is recommended never use it at all. Check the date or upgrade your system."
;;
-
*
)
-
*
)
[
-n
"
$direct_args
"
]
&&
return
1
[
-n
"
$direct_args
"
]
&&
return
1
[
-n
"
$pkg_options
"
]
&&
pkg_options
=
"
$pkg_options
$1
"
||
pkg_options
=
"
$1
"
[
-n
"
$pkg_options
"
]
&&
pkg_options
=
"
$pkg_options
$1
"
||
pkg_options
=
"
$1
"
...
...
packed/serv.sh
View file @
9c024952
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.57.1
2
"
EPMVERSION
=
"3.57.1
3
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -2558,8 +2558,8 @@ local EV=''
...
@@ -2558,8 +2558,8 @@ local EV=''
cat
<<
EOF
cat
<<
EOF
distro_info v
$PROGVERSION
$EV
: Copyright © 2007-2023 Etersoft
distro_info v
$PROGVERSION
$EV
: Copyright © 2007-2023 Etersoft
Pretty distro
name (--pretty):
$(
print_pretty_name
)
Pretty
name (--pretty):
$(
print_pretty_name
)
Distro name / version (--distro-name/
version):
$DISTRO_NAME
/
$DISTRIB_FULL_RELEASE$orig
(--distro-name / --distro-
version):
$DISTRO_NAME
/
$DISTRIB_FULL_RELEASE$orig
Base distro name (-d) / version (-v):
$(
print_name_version
)
Base distro name (-d) / version (-v):
$(
print_name_version
)
Vendor distro name (-s) / Repo name (-r):
$(
pkgvendor
)
/
$(
print_repo_name
)
Vendor distro name (-s) / Repo name (-r):
$(
pkgvendor
)
/
$(
print_repo_name
)
Package manager/type (-g/-p):
$(
pkgmanager
)
/
$(
pkgtype
)
Package manager/type (-g/-p):
$(
pkgmanager
)
/
$(
pkgtype
)
...
...
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