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
71459ee2
Commit
71459ee2
authored
Apr 11, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.64.25
parent
83474f72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
10 deletions
+24
-10
epm.sh
packed/epm.sh
+23
-9
serv.sh
packed/serv.sh
+1
-1
No files found.
packed/epm.sh
View file @
71459ee2
...
@@ -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.2
4
"
export
EPMVERSION
=
"3.64.2
5
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -2694,7 +2694,7 @@ __epm_apt_set_lists_pkg()
...
@@ -2694,7 +2694,7 @@ __epm_apt_set_lists_pkg()
LISTS
=
'/var/lib/apt/lists'
LISTS
=
'/var/lib/apt/lists'
if
[
"
$BASEDISTRNAME
"
=
"alt"
]
;
then
if
[
"
$BASEDISTRNAME
"
=
"alt"
]
;
then
pkg
=
"pkglist"
pkg
=
"pkglist
.
"
# see update-kernel: Use Dir::State::lists for apt update freshness check (ALT bug 46987)
# see update-kernel: Use Dir::State::lists for apt update freshness check (ALT bug 46987)
eval
"
$(
a
=
''
apt-config shell LISTS Dir::State::lists/f
)
"
eval
"
$(
a
=
''
apt-config shell LISTS Dir::State::lists/f
)
"
fi
fi
...
@@ -10337,7 +10337,7 @@ __epm_removerepo_alt()
...
@@ -10337,7 +10337,7 @@ __epm_removerepo_alt()
autoimports
)
autoimports
)
info
"removing autoimports repo"
info
"removing autoimports repo"
[
-n
"
$DISTRVERSION
"
]
||
fatal
"Empty DISTRVERSION"
[
-n
"
$DISTRVERSION
"
]
||
fatal
"Empty DISTRVERSION"
repo
=
"autoimports
.
$branch
"
repo
=
"autoimports
/
$DISTRVERSION
"
__epm_removerepo_alt_grepremove
"
$repo
/"
__epm_removerepo_alt_grepremove
"
$repo
/"
;;
;;
archive
)
archive
)
...
@@ -10372,6 +10372,7 @@ __epm_removerepo_alt()
...
@@ -10372,6 +10372,7 @@ __epm_removerepo_alt()
__epm_removerepo_apt
"
$*
"
__epm_removerepo_apt
"
$*
"
else
else
info
"removing with grep by '
$*
'"
info
"removing with grep by '
$*
'"
# TODO: switch to $@ and use epm repo remove instead of __epm_removerepo_alt_grepremove
__epm_removerepo_alt_grepremove
"
$*
"
__epm_removerepo_alt_grepremove
"
$*
"
fi
fi
;;
;;
...
@@ -11673,6 +11674,15 @@ __epm_repoindex_alt()
...
@@ -11673,6 +11674,15 @@ __epm_repoindex_alt()
fi
fi
REPO_NAME
=
"
$2
"
REPO_NAME
=
"
$2
"
# copied from epm-addrepo
# URL to path/RPMS.addon
local
base
=
"
$(
basename
"
$REPO_DIR
"
)
"
if
echo
"
$base
"
|
grep
-q
"^RPMS
\.
"
;
then
REPO_NAME
=
"
$(
echo
$base
|
sed
-e
's|.*\.||'
)
"
REPO_DIR
=
"
$(
dirname
"
$REPO_DIR
"
)
"
fi
if
[
-z
"
$REPO_NAME
"
]
;
then
if
[
-z
"
$REPO_NAME
"
]
;
then
# default name
# default name
REPO_NAME
=
"addon"
REPO_NAME
=
"addon"
...
@@ -14695,13 +14705,17 @@ epm_update()
...
@@ -14695,13 +14705,17 @@ epm_update()
__epm_update_content_index
__epm_update_content_index
return
return
fi
fi
if
[
"
$1
"
=
"--check-apt-db-days"
]
;
then
# update with args is the alias for upgrade
__epm_check_apt_db_days
&&
info
"APT DB is up to date"
if
[
-n
"
$*
"
]
;
then
epm upgrade
"
$@
"
return
return
fi
fi
# update with args is the alias for upgrade
#if [ -n "$*" ] ; then
# epm upgrade "$@"
# return
#fi
__epm_update
"
$@
"
||
return
__epm_update
"
$@
"
||
return
__epm_touch_pkg
__epm_touch_pkg
...
@@ -19407,9 +19421,9 @@ check_command()
...
@@ -19407,9 +19421,9 @@ check_command()
;;
;;
# HELPCMD: PART: Repository control:
# HELPCMD: PART: Repository control:
update|update-repo|ur
)
# HELPCMD: update remote package repository databases
(with args, run upgrade)
update|update-repo|ur
)
# HELPCMD: update remote package repository databases
epm_cmd
=
update
epm_cmd
=
update
#
direct_args=1
direct_args
=
1
;;
;;
addrepo|ar|--add-repo
)
# HELPCMD: add package repo (etersoft, autoimports, archive 2017/01/31); run with param to get list
addrepo|ar|--add-repo
)
# HELPCMD: add package repo (etersoft, autoimports, archive 2017/01/31); run with param to get list
epm_cmd
=
addrepo
epm_cmd
=
addrepo
...
...
packed/serv.sh
View file @
71459ee2
...
@@ -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.2
4
"
EPMVERSION
=
"3.64.2
5
"
# 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