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
Vladislav
eepm
Commits
fcf03988
Commit
fcf03988
authored
May 27, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.57.4
parent
4198e03b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
7 deletions
+31
-7
epm.sh
packed/epm.sh
+29
-5
serv.sh
packed/serv.sh
+2
-2
No files found.
packed/epm.sh
View file @
fcf03988
...
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.57.
3
"
EPMVERSION
=
"3.57.
4
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
@@ -799,7 +799,7 @@ assure_tmpdir()
{
if
[
-z
"
$TMPDIR
"
]
;
then
export
TMPDIR
=
"/tmp"
warnin
g
"Your have no TMPDIR defined. Using
$TMPDIR
as fallback."
debu
g
"Your have no TMPDIR defined. Using
$TMPDIR
as fallback."
fi
if
[
!
-d
"
$TMPDIR
"
]
;
then
...
...
@@ -6867,11 +6867,32 @@ case $PMTYPE in
return
fi
;;
urpm-rpm|zypper-rpm|yum-rpm|dnf-rpm
)
urpm-rpm
)
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
else
CMD
=
"urpmq --provides"
fi
;;
zypper-rpm
)
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
else
fatal
"FIXME: use hi level commands or download firstly"
fi
;;
yum-rpm
)
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
else
fatal
"FIXME: use hi level commands or download firstly"
fi
;;
dnf-rpm
)
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
else
fatal
"FIXME: use hi level command
s"
CMD
=
"dnf repoquery --provide
s"
fi
;;
emerge
)
...
...
@@ -10141,6 +10162,9 @@ __epm_repo_pkgadd_alt()
while
[
-s
"
$1
"
]
;
do
arch
=
"
$(
epm print
arch
from filename
"
$1
"
)
"
||
fatal
# arch hack (it is better to repack firstly)
[
"
$arch
"
=
"i686"
]
&&
arch
=
"i586"
[
"
$arch
"
=
"i386"
]
&&
arch
=
"i586"
epm checkpkg
"
$1
"
||
fatal
cp
-v
"
$1
"
$REPO_DIR
/
$arch
/RPMS.
$REPO_NAME
||
fatal
shift
...
...
@@ -16996,7 +17020,7 @@ fi
export
EPM_OPTIONS
=
"
$nodeps
$force
$verbose
$debug
$quiet
$interactive
$non_interactive
$save_only
$download_only
"
# if input is not console and run script from file, get pkgs from stdin too
if
[
!
-n
"
$inscript
"
]
&&
!
inputisatty
&&
[
-n
"
$PROGDIR
"
]
;
then
if
[
!
-n
"
$inscript
"
]
&&
[
-p
/dev/stdin
]
&&
[
"
$EPMMODE
"
!=
"pipe
"
]
;
then
for
opt
in
$(
withtimeout 10
cat
)
;
do
# FIXME: do not work
# workaround against # yes | epme
...
...
packed/serv.sh
View file @
fcf03988
...
...
@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.57.
3
"
EPMVERSION
=
"3.57.
4
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
@@ -800,7 +800,7 @@ assure_tmpdir()
{
if
[
-z
"
$TMPDIR
"
]
;
then
export
TMPDIR
=
"/tmp"
warnin
g
"Your have no TMPDIR defined. Using
$TMPDIR
as fallback."
debu
g
"Your have no TMPDIR defined. Using
$TMPDIR
as fallback."
fi
if
[
!
-d
"
$TMPDIR
"
]
;
then
...
...
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