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
33bdb697
Commit
33bdb697
authored
May 01, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.62.8
parent
66fee550
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
11 deletions
+45
-11
epm.sh
packed/epm.sh
+28
-10
serv.sh
packed/serv.sh
+17
-1
No files found.
packed/epm.sh
View file @
33bdb697
...
@@ -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.62.
7
"
export
EPMVERSION
=
"3.62.
8
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -362,6 +362,10 @@ echog()
...
@@ -362,6 +362,10 @@ echog()
fi
fi
}
}
message
()
{
echog
"
$*
"
}
fatal
()
fatal
()
{
{
...
@@ -375,6 +379,18 @@ fatal()
...
@@ -375,6 +379,18 @@ fatal()
exit
1
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
exit
1
}
debug
()
debug
()
{
{
[
-n
"
$debug
"
]
||
return
[
-n
"
$debug
"
]
||
return
...
@@ -1858,7 +1874,7 @@ __epm_autoremove_altrpm_pp()
...
@@ -1858,7 +1874,7 @@ __epm_autoremove_altrpm_pp()
if
[
-n
"
$flag
"
]
;
then
if
[
-n
"
$flag
"
]
;
then
info
""
info
info
"call again for next cycle until all modules will be removed"
info
"call again for next cycle until all modules will be removed"
__epm_autoremove_altrpm_pp
"
$libexclude
"
__epm_autoremove_altrpm_pp
"
$libexclude
"
fi
fi
...
@@ -1929,7 +1945,7 @@ __epm_autoremove_altrpm_lib()
...
@@ -1929,7 +1945,7 @@ __epm_autoremove_altrpm_lib()
fi
fi
if
[
-n
"
$flag
"
]
;
then
if
[
-n
"
$flag
"
]
;
then
info
""
info
info
"call again for next cycle until all libs will be removed"
info
"call again for next cycle until all libs will be removed"
__epm_autoremove_altrpm_lib
$opt
__epm_autoremove_altrpm_lib
$opt
fi
fi
...
@@ -3353,7 +3369,7 @@ __epm_korinf_install_eepm()
...
@@ -3353,7 +3369,7 @@ __epm_korinf_install_eepm()
warning
"Using external (Korinf) repo is forbidden for stable ALT branch
$DISTRVERSION
."
warning
"Using external (Korinf) repo is forbidden for stable ALT branch
$DISTRVERSION
."
info
"Check https://bugzilla.altlinux.org/44314 for reasons."
info
"Check https://bugzilla.altlinux.org/44314 for reasons."
info
"You can install eepm package from Korinf manually, check instruction at https://eepm.ru"
info
"You can install eepm package from Korinf manually, check instruction at https://eepm.ru"
info
""
info
info
"Trying update eepm from the stable ALT repository ..."
info
"Trying update eepm from the stable ALT repository ..."
docmd epm
install
eepm
docmd epm
install
eepm
return
return
...
@@ -3647,8 +3663,8 @@ epm_full_upgrade()
...
@@ -3647,8 +3663,8 @@ epm_full_upgrade()
"--no-epm-play"
)
# HELPCMD: skip epm play during full upgrade
"--no-epm-play"
)
# HELPCMD: skip epm play during full upgrade
full_upgrade_no_epm_play
=
1
full_upgrade_no_epm_play
=
1
;;
;;
"--no-flatpa
ck"
)
# HELPCMD: skip flatpac
k update during full upgrade
"--no-flatpa
k"
)
# HELPCMD: skip flatpa
k update during full upgrade
full_upgrade_no_flatpa
c
k
=
1
full_upgrade_no_flatpak
=
1
;;
;;
"--no-snap"
)
# HELPCMD: skip snap update during full upgrade
"--no-snap"
)
# HELPCMD: skip snap update during full upgrade
full_upgrade_no_snap
=
1
full_upgrade_no_snap
=
1
...
@@ -7331,14 +7347,14 @@ case $PMTYPE in
...
@@ -7331,14 +7347,14 @@ case $PMTYPE in
if
is_installed
$pkg_names
;
then
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
CMD
=
"rpm -q --provides"
else
else
f
atal
"FIXME: use hi level commands or download firstly"
f
ixme
"FIXME: use hi level commands or download firstly"
fi
fi
;;
;;
yum-rpm
)
yum-rpm
)
if
is_installed
$pkg_names
;
then
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
CMD
=
"rpm -q --provides"
else
else
f
atal
"FIXME: use hi level commands or download firstly"
f
ixme
"FIXME: use hi level commands or download firstly"
fi
fi
;;
;;
dnf-rpm
)
dnf-rpm
)
...
@@ -9773,7 +9789,7 @@ __epm_repack_to_rpm()
...
@@ -9773,7 +9789,7 @@ __epm_repack_to_rpm()
tmpbuilddir
=
$HOME
/
$(
basename
$pkg
)
.tmpdir
tmpbuilddir
=
$HOME
/
$(
basename
$pkg
)
.tmpdir
mkdir
$tmpbuilddir
mkdir
$tmpbuilddir
abspkg
=
"
$(
realpath
$pkg
)
"
abspkg
=
"
$(
realpath
$pkg
)
"
info
""
info
info
"Repacking
$abspkg
to local rpm format (inside
$tmpbuilddir
) ..."
info
"Repacking
$abspkg
to local rpm format (inside
$tmpbuilddir
) ..."
alpkg
=
$(
basename
$pkg
)
alpkg
=
$(
basename
$pkg
)
...
@@ -13386,7 +13402,9 @@ epm_upgrade()
...
@@ -13386,7 +13402,9 @@ epm_upgrade()
return
return
fi
fi
__check_upgrade_conditions
||
fatal
"upgrade conditions is not satisfied."
if
[
-z
"
$*
"
]
;
then
__check_upgrade_conditions
||
fatal
"upgrade conditions is not satisfied."
fi
fi
fi
# Solus supports upgrade for a package (with all dependencies)
# Solus supports upgrade for a package (with all dependencies)
...
...
packed/serv.sh
View file @
33bdb697
...
@@ -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.62.
7
"
EPMVERSION
=
"3.62.
8
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -363,6 +363,10 @@ echog()
...
@@ -363,6 +363,10 @@ echog()
fi
fi
}
}
message
()
{
echog
"
$*
"
}
fatal
()
fatal
()
{
{
...
@@ -376,6 +380,18 @@ fatal()
...
@@ -376,6 +380,18 @@ fatal()
exit
1
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
exit
1
}
debug
()
debug
()
{
{
[
-n
"
$debug
"
]
||
return
[
-n
"
$debug
"
]
||
return
...
...
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