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
c11378dc
Commit
c11378dc
authored
Mar 19, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.64.16
parent
02bcf5f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
16 deletions
+25
-16
epm.sh
packed/epm.sh
+24
-15
serv.sh
packed/serv.sh
+1
-1
No files found.
packed/epm.sh
View file @
c11378dc
...
@@ -34,7 +34,7 @@ SHAREDIR="$PROGDIR"
...
@@ -34,7 +34,7 @@ SHAREDIR="$PROGDIR"
# will replaced with /etc/eepm during install
# will replaced with /etc/eepm during install
CONFIGDIR
=
"
$PROGDIR
/../etc"
CONFIGDIR
=
"
$PROGDIR
/../etc"
export
EPMVERSION
=
"3.64.1
5
"
export
EPMVERSION
=
"3.64.1
6
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -10181,6 +10181,10 @@ __epm_removerepo_apt()
...
@@ -10181,6 +10181,10 @@ __epm_removerepo_apt()
__epm_grep_repo_list
()
__epm_grep_repo_list
()
{
{
if
[
"
$1
"
=
"all"
]
;
then
epm
--quiet
repo list
return
fi
while
[
-n
"
$1
"
]
;
do
while
[
-n
"
$1
"
]
;
do
epm
--quiet
repo list
"
$1
"
epm
--quiet
repo list
"
$1
"
shift
shift
...
@@ -10189,19 +10193,12 @@ __epm_grep_repo_list()
...
@@ -10189,19 +10193,12 @@ __epm_grep_repo_list()
__epm_removerepo_alt_grepremove
()
__epm_removerepo_alt_grepremove
()
{
{
local
rl
=
"
$*
"
local
rl
if
[
"
$rl
"
=
"all"
]
;
then
rl
=
"*"
fi
# ^rpm means full string
rl
=
"
$(
__epm_grep_repo_list
"
$@
"
2>/dev/null
)
"
if
!
rhas
"
$rl
"
"^rpm"
;
then
if
[
-z
"
$rl
"
]
;
then
rl
=
"
$(
__epm_grep_repo_list
$rl
2>/dev/null
)
"
[
-n
"
$verbose
"
]
&&
warning
'Can'
\'
't find '
$*
' in the repos list (see # epm repolist output)'
if
[
-z
"
$rl
"
]
;
then
return
1
[
-n
"
$verbose
"
]
&&
warning
'Can'
\'
't find '
$*
' in the repos (see # epm repolist output)'
return
1
fi
fi
fi
echo
"
$rl
"
|
while
read
rp
;
do
echo
"
$rl
"
|
while
read
rp
;
do
...
@@ -10251,6 +10248,10 @@ __epm_removerepo_alt()
...
@@ -10251,6 +10248,10 @@ __epm_removerepo_alt()
shift
shift
__epm_removerepo_alt_grepremove
" repo/
$1
/"
"/tasks/
$1
"
"/
$1
[ /]build/repo"
__epm_removerepo_alt_grepremove
" repo/
$1
/"
"/tasks/
$1
"
"/
$1
[ /]build/repo"
;;
;;
all
)
info
"removing all repos"
__epm_removerepo_alt_grepremove
"all"
;;
-
*
)
-
*
)
fatal
"epm removerepo: no options are supported"
fatal
"epm removerepo: no options are supported"
;;
;;
...
@@ -11583,10 +11584,13 @@ __print_apt_sources_list()
...
@@ -11583,10 +11584,13 @@ __print_apt_sources_list()
local
regexp
=
"
$2
"
local
regexp
=
"
$2
"
shift
2
shift
2
local
i
local
i
local
res
=
1
[
-n
"
$regexp
"
]
||
res
=
0
for
i
in
$@
;
do
for
i
in
$@
;
do
test
-r
"
$i
"
||
continue
test
-r
"
$i
"
||
continue
grep
-v
--
"^.*#"
$i
grep
-v
--
"^.*#"
$i
done
|
grep
-v
--
"^ *
\$
"
|
grep
$grepflags
"
$regexp
"
done
|
grep
-v
--
"^ *
\$
"
|
grep
$grepflags
"
$regexp
"
&&
res
=
0
return
$res
}
}
__print_apt_sources_list_full
()
__print_apt_sources_list_full
()
...
@@ -11595,10 +11599,13 @@ __print_apt_sources_list_full()
...
@@ -11595,10 +11599,13 @@ __print_apt_sources_list_full()
local
regexp
=
"
$2
"
local
regexp
=
"
$2
"
shift
2
shift
2
local
i
local
i
local
res
=
1
[
-n
"
$regexp
"
]
||
res
=
0
for
i
in
$@
;
do
for
i
in
$@
;
do
test
-r
"
$i
"
||
continue
test
-r
"
$i
"
||
continue
grep
--
"^[[:space:]]*#*[[:space:]]*rpm"
$i
grep
--
"^[[:space:]]*#*[[:space:]]*rpm"
$i
done
|
grep
-v
--
"^ *
\$
"
|
grep
$grepflags
"
$regexp
"
done
|
grep
-v
--
"^ *
\$
"
|
grep
$grepflags
"
$regexp
"
&&
res
=
0
return
$res
}
}
__print_apt_sources_list_list
()
__print_apt_sources_list_list
()
...
@@ -11624,6 +11631,7 @@ __print_apt_sources_list_verbose()
...
@@ -11624,6 +11631,7 @@ __print_apt_sources_list_verbose()
shift
2
shift
2
local
i
local
i
local
res
=
1
local
res
=
1
[
-n
"
$regexp
"
]
||
res
=
0
for
i
in
$@
;
do
for
i
in
$@
;
do
test
-r
"
$i
"
||
continue
test
-r
"
$i
"
||
continue
grep
-v
--
"^.*#"
$i
|
grep
-v
--
"^ *
\$
"
|
grep
-q
.
&&
__info_cyan
"
$i
:"
||
continue
grep
-v
--
"^.*#"
$i
|
grep
-v
--
"^ *
\$
"
|
grep
-q
.
&&
__info_cyan
"
$i
:"
||
continue
...
@@ -11639,6 +11647,7 @@ __print_apt_sources_list_verbose_full()
...
@@ -11639,6 +11647,7 @@ __print_apt_sources_list_verbose_full()
shift
2
shift
2
local
i
local
i
local
res
=
1
local
res
=
1
[
-n
"
$regexp
"
]
||
res
=
0
for
i
in
$@
;
do
for
i
in
$@
;
do
test
-r
"
$i
"
||
continue
test
-r
"
$i
"
||
continue
grep
--
"^[[:space:]]*#*[[:space:]]*rpm"
$i
|
grep
-v
--
"^ *
\$
"
|
grep
-q
.
&&
echo
&&
__info_cyan
"
$i
:"
||
continue
grep
--
"^[[:space:]]*#*[[:space:]]*rpm"
$i
|
grep
-v
--
"^ *
\$
"
|
grep
-q
.
&&
echo
&&
__info_cyan
"
$i
:"
||
continue
...
...
packed/serv.sh
View file @
c11378dc
...
@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
...
@@ -34,7 +34,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.64.1
5
"
EPMVERSION
=
"3.64.1
6
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
...
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