Commit 3522556f authored by Vitaly Lipatov's avatar Vitaly Lipatov

some comments

parent 68dda39d
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 должен уметь показывать порядок загрузки?
...@@ -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
;; ;;
......
...@@ -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
;; ;;
......
...@@ -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 $@
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment