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
Nurlan
eepm
Commits
3522556f
Commit
3522556f
authored
Jul 24, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some comments
parent
68dda39d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
4 deletions
+21
-4
TODO
TODO
+12
-0
epm
bin/epm
+2
-1
epm-check
bin/epm-check
+3
-3
epm-checkpkg
bin/epm-checkpkg
+2
-0
epm-simulate
bin/epm-simulate
+2
-0
No files found.
TODO
View file @
3522556f
2. Дописать таблицу на вики на основании реализованных команд.
2. Дописать таблицу на вики на основании реализованных команд.
3. Доделать и проверить deplist|requires
3. Доделать и проверить deplist|requires
https://wiki.archlinux.org/index.php/Pacman_Rosetta
https://wiki.archlinux.org/index.php/Pacman_Rosetta
Вывернуть:
Не case по каждой системе, а в каталоге по каждой системе разместить файлы, выполняющие нужные действия.
apt-rpm/install
apt-rpm/remove
при упаковке лучше собирать в один файл.
Внесто общих функций тоже модули.
serv должен уметь показывать порядок загрузки?
bin/epm
View file @
3522556f
...
@@ -73,6 +73,7 @@ quiet=
...
@@ -73,6 +73,7 @@ quiet=
nodeps
=
nodeps
=
force
=
force
=
short
=
short
=
sort
=
non_interactive
=
non_interactive
=
skip_installed
=
skip_installed
=
show_command_only
=
show_command_only
=
...
@@ -184,7 +185,7 @@ check_command()
...
@@ -184,7 +185,7 @@ check_command()
-qa
|
list|packages|-l
)
# HELPCMD: list of installed package(s)
-qa
|
list|packages|-l
)
# HELPCMD: list of installed package(s)
epm_cmd
=
packages
epm_cmd
=
packages
;;
;;
programs
)
# HELPCMD: list of installed program(s)
programs
)
# HELPCMD: list of installed
GUI
program(s)
epm_cmd
=
programs
epm_cmd
=
programs
;;
;;
...
...
bin/epm-check
View file @
3522556f
...
@@ -43,9 +43,9 @@ case $PMTYPE in
...
@@ -43,9 +43,9 @@ case $PMTYPE in
emerge
)
emerge
)
sudocmd revdep-rebuild
sudocmd revdep-rebuild
;;
;;
urpm-rpm
)
#
urpm-rpm)
#
sudocmd urpme --auto-orphans
#
sudocmd urpme --auto-orphans
;;
#
;;
zypper-rpm
)
zypper-rpm
)
sudocmd zypper verify
||
exit
sudocmd zypper verify
||
exit
;;
;;
...
...
bin/epm-checkpkg
View file @
3522556f
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# TODO: move zip,rar,7z to arc project, and pack all to check_pkg_integrity
# also use arc project if installed
check_rpm_integrity
()
check_rpm_integrity
()
{
{
docmd rpm
--checksig
$@
docmd rpm
--checksig
$@
...
...
bin/epm-simulate
View file @
3522556f
...
@@ -109,6 +109,8 @@ EOF
...
@@ -109,6 +109,8 @@ EOF
local
pkg res
local
pkg res
res
=
0
res
=
0
for
pkg
in
$filenames
;
do
for
pkg
in
$filenames
;
do
# FIXME: -[0-0] does not work in search!
# FIXME: we need strict search here (not find gst-plugins-base if search for gst-plugins
pkg_filenames
=
"
$pkg
-[0-9]"
epm_search |
grep
-E
"(installed|upgrade)"
&&
continue
pkg_filenames
=
"
$pkg
-[0-9]"
epm_search |
grep
-E
"(installed|upgrade)"
&&
continue
pkg_filenames
=
"
$pkg
"
epm_search |
grep
-E
"(installed|upgrade)"
&&
continue
pkg_filenames
=
"
$pkg
"
epm_search |
grep
-E
"(installed|upgrade)"
&&
continue
res
=
1
res
=
1
...
...
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