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
0053b33d
Commit
0053b33d
authored
1 month ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.64.7
parent
836e3614
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
23 deletions
+18
-23
epm.sh
packed/epm.sh
+0
-0
serv.sh
packed/serv.sh
+18
-23
No files found.
packed/epm.sh
View file @
0053b33d
This diff is collapsed.
Click to expand it.
packed/serv.sh
View file @
0053b33d
...
...
@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.64.
6
"
EPMVERSION
=
"3.64.
7
"
# package, single (file), pipe, git
EPMMODE
=
"package"
...
...
@@ -391,27 +391,29 @@ message()
echog
"
$*
"
}
fatal
()
__promo_message
()
{
local
PROMOMESSAGE
=
"
$EPMPROMOMESSAGE
"
[
-n
"
$PROMOMESSAGE
"
]
||
PROMOMESSAGE
=
" (you can discuss the epm
$EPMVERSION
problem in Telegram: https://t.me/useepm)"
[
-n
"
$PROMOMESSAGE
"
]
||
PROMOMESSAGE
=
" (you can discuss this problem (epm
$EPMVERSION
on
$DISTRNAME
/
$DISTRVERSION
) in Telegram: https://t.me/useepm)"
echo
"
$PROMOMESSAGE
"
}
fatal
()
{
set_color
$RED
>
&2
echog
-n
"ERROR: "
>
&2
restore_color
>
&2
echog
"
$*
$
PROMOMESSAGE
"
>
&2
echog
"
$*
$
(
__promo_message
)
"
>
&2
exit
1
}
fixme
()
{
local
PROMOMESSAGE
=
"
$EPMPROMOMESSAGE
"
[
-n
"
$PROMOMESSAGE
"
]
||
PROMOMESSAGE
=
" (you can discuss the epm
$EPMVERSION
problem in Telegram: https://t.me/useepm)"
set_color
$RED
>
&2
echo
-n
"ERROR: "
>
&2
restore_color
>
&2
echo
"
$*
$PROMOMESSAGE
"
>
&2
echo
g
"
$*
$(
__promo_message
)
"
>
&2
exit
1
}
...
...
@@ -1116,20 +1118,6 @@ else
}
fi
set_backend
()
{
case
$arg
in
*
:
*
)
PMTYPE
=
$(
echo
"
$arg
"
|
cut
-d
:
-f1
)
names
=
$(
echo
"
$arg
"
|
cut
-d
:
-f2
)
;;
*
)
PMTYPE
=
$(
$DISTRVENDOR
-g
)
names
=
"
$(
echo
$pkg_names
|
tr
' '
'\n'
|
grep
-v
':'
| filter_out_installed_packages
)
"
esac
}
# File bin/serv-cat:
serv_cat
()
...
...
@@ -1980,6 +1968,9 @@ case $DISTRIB_ID in
Solus
)
CMD
=
"eopkg"
;;
PisiLinux
)
CMD
=
"pisi"
;;
Mandriva
)
CMD
=
"urpm-rpm"
;;
...
...
@@ -2068,7 +2059,7 @@ case $DISTRIB_ID in
echo
"pkgmanager(): We don't support yet DISTRIB_ID
$DISTRIB_ID
(VENDOR_ID
$VENDOR_ID
)"
>
&2
;;
esac
if
[
"
$CMD
"
=
"dnf-rpm"
]
&&
[
$(
dnf
--version
|
grep
-qi
"dnf5"
)
]
;
then
if
[
"
$CMD
"
=
"dnf-rpm"
]
&&
dnf
--version
|
grep
-qi
"dnf5"
;
then
CMD
=
"dnf5-rpm"
fi
echo
"
$CMD
"
...
...
@@ -2099,6 +2090,7 @@ pkgtype()
openwrt
)
echo
"ipk"
;;
cygwin
)
echo
"tar.xz"
;;
solus
)
echo
"eopkg"
;;
pisilinux
)
echo
"pisi"
;;
*
)
case
$(
pkgmanager
)
in
*
-dpkg
)
...
...
@@ -2151,6 +2143,9 @@ normalize_name()
"Fedora Linux"
)
echo
"Fedora"
;;
"Pardus GNU/Linux"
)
echo
"Pardus"
;;
"Red Hat Enterprise Linux Server"
)
echo
"RHEL"
;;
...
...
This diff is collapsed.
Click to expand it.
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