Commit 01b48f04 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add check_reqs script and cleanup all reqs

parent 8ee33a6f
...@@ -35,7 +35,7 @@ case $PMTYPE in ...@@ -35,7 +35,7 @@ case $PMTYPE in
apt-dpkg|aptitude-dpkg) apt-dpkg|aptitude-dpkg)
assure_exists deborphan assure_exists deborphan
showcmd deborphan showcmd deborphan
deborphan | sudocmd epm remove a= deborphan | sudocmd epm remove
;; ;;
#aura) #aura)
# sudocmd aura -Oj # sudocmd aura -Oj
......
...@@ -43,7 +43,7 @@ __alt_local_content_filelist() ...@@ -43,7 +43,7 @@ __alt_local_content_filelist()
__deb_local_content_filelist() __deb_local_content_filelist()
{ {
showcmd "apt-file list $1 | grep '^$1: ' | sed -e 's|$1: ||g'" showcmd "apt-file list $1 | grep '^$1: ' | sed -e 's|$1: ||g'"
apt-file list "$1" | grep "^$1: " | sed -e "s|$1: ||g" a= apt-file list "$1" | grep "^$1: " | sed -e "s|$1: ||g"
} }
......
...@@ -35,7 +35,7 @@ epm_reinstall_names() ...@@ -35,7 +35,7 @@ epm_reinstall_names()
sudocmd dnf reinstall $@ sudocmd dnf reinstall $@
return ;; return ;;
pkgng) pkgng)
sudocmf pkg install -f $@ sudocmd pkg install -f $@
return ;; return ;;
slackpkg) slackpkg)
sudocmd_foreach "/usr/sbin/slackpkg reinstall" $@ sudocmd_foreach "/usr/sbin/slackpkg reinstall" $@
......
#!/bin/sh
/usr/lib/rpm/shell.req bin/epm-* | sort -u
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