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
450b98e4
Commit
450b98e4
authored
Apr 20, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.52.2
parent
7180a77f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
epm.sh
packed/epm.sh
+8
-3
serv.sh
packed/serv.sh
+1
-1
No files found.
packed/epm.sh
View file @
450b98e4
...
@@ -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.52.
1
"
EPMVERSION
=
"3.52.
2
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -3836,7 +3836,7 @@ __epm_check_if_src_rpm()
...
@@ -3836,7 +3836,7 @@ __epm_check_if_src_rpm()
__epm_if_command_path
()
__epm_if_command_path
()
{
{
is_dirpath
"
$1
"
&&
rhas
"
$1
"
"bin/"
is_dirpath
"
$1
"
&&
rhas
"
$1
"
"bin/"
&&
!
rhas
"
$1
"
"/home"
}
}
__epm_get_replacepkgs
()
__epm_get_replacepkgs
()
...
@@ -5644,6 +5644,7 @@ __epm_play_initialize_ipfs()
...
@@ -5644,6 +5644,7 @@ __epm_play_initialize_ipfs()
if
[
!
-r
"
$EGET_IPFS_DB
"
]
;
then
if
[
!
-r
"
$EGET_IPFS_DB
"
]
;
then
sudorun
touch
"
$EGET_IPFS_DB
"
>
&2
sudorun
touch
"
$EGET_IPFS_DB
"
>
&2
sudorun
chmod
-v
a+rw
"
$EGET_IPFS_DB
"
>
&2
sudorun
chmod
-v
a+rw
"
$EGET_IPFS_DB
"
>
&2
# TODO: update this DB every time when changed (and get from IPFS as sign it works.)
# get initial db from server
# get initial db from server
local
URL
=
"https://eepm.ru/app-versions"
local
URL
=
"https://eepm.ru/app-versions"
info
"Initialize IPFS DB in
$EGET_IPFS_DB
file and fill it with data from
$URL
/eget-ipfs-db.txt"
info
"Initialize IPFS DB in
$EGET_IPFS_DB
file and fill it with data from
$URL
/eget-ipfs-db.txt"
...
@@ -7203,6 +7204,10 @@ get_fix_release_pkg()
...
@@ -7203,6 +7204,10 @@ get_fix_release_pkg()
echo
"apt-conf-
$TO
"
echo
"apt-conf-
$TO
"
# apt-conf-sisyphus and apt-conf-branch conflicts
# apt-conf-sisyphus and apt-conf-branch conflicts
epm installed apt-conf-branch
&&
echo
"apt-conf-branch-"
epm installed apt-conf-branch
&&
echo
"apt-conf-branch-"
#for i in apt apt-rsync libapt libpackagekit-glib librpm7 packagekit rpm synaptic realmd libldap2 ; do
# epm installed $i && echo "$i"
#done
else
else
epm installed apt-conf-branch
&&
echo
"apt-conf-branch apt-conf-sisyphus-"
epm installed apt-conf-branch
&&
echo
"apt-conf-branch apt-conf-sisyphus-"
fi
fi
...
@@ -14072,7 +14077,7 @@ get_urls()
...
@@ -14072,7 +14077,7 @@ get_urls()
fi
fi
# cat html, divide to lines by tags and cut off hrefs only
# cat html, divide to lines by tags and cut off hrefs only
scat
$URL
|
sed
-e
's|<|<\n|g'
-e
's|data-file=|href=|g'
-e
"s|'|
\"
|g"
|
\
scat
$URL
|
sed
-e
's|<|<\n|g'
-e
's|data-file=|href=|g'
-e
"s|
href=http|href=
\"
http|g"
-e
"s|>|
\"
>|g"
-e
"s|
'|
\"
|g"
|
\
grep
-i
-o
-E
'href="(.+)"'
|
cut
-d
'"'
-f2
grep
-i
-o
-E
'href="(.+)"'
|
cut
-d
'"'
-f2
}
}
...
...
packed/serv.sh
View file @
450b98e4
...
@@ -2577,7 +2577,7 @@ print_version()
...
@@ -2577,7 +2577,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.52.
1
https://wiki.etersoft.ru/Epm"
echo
"Service manager version 3.52.
2
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