Commit 07e19e83 authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed files

parent b616fdd0
...@@ -1033,7 +1033,6 @@ update_repo_if_needed() ...@@ -1033,7 +1033,6 @@ update_repo_if_needed()
cd / cd /
if ! __is_repo_info_downloaded || ! __is_repo_info_uptodate ; then if ! __is_repo_info_downloaded || ! __is_repo_info_uptodate ; then
load_helper epm-update
pkg_filenames= epm_update pkg_filenames= epm_update
fi fi
cd - >/dev/null cd - >/dev/null
...@@ -1307,7 +1306,6 @@ epm_download() ...@@ -1307,7 +1306,6 @@ epm_download()
__alt_local_content_filelist() __alt_local_content_filelist()
{ {
load_helper epm-sh-altlinux
local CI="$(get_local_alt_contents_index)" local CI="$(get_local_alt_contents_index)"
...@@ -1848,7 +1846,6 @@ epm_install_files() ...@@ -1848,7 +1846,6 @@ epm_install_files()
sudocmd pm install $@ sudocmd pm install $@
return ;; return ;;
emerge) emerge)
load_helper epm-install-emerge
sudocmd epm_install_emerge $@ sudocmd epm_install_emerge $@
return ;; return ;;
pacman) pacman)
...@@ -2920,7 +2917,6 @@ epm_query_file() ...@@ -2920,7 +2917,6 @@ epm_query_file()
[ -n "$pkg_filenames" ] || fatal "Run query without file names" [ -n "$pkg_filenames" ] || fatal "Run query without file names"
load_helper epm-search_file
for pkg in $pkg_filenames ; do for pkg in $pkg_filenames ; do
__do_query_real_file "$pkg" __do_query_real_file "$pkg"
...@@ -3332,7 +3328,8 @@ __fix_apt_sources_list() ...@@ -3332,7 +3328,8 @@ __fix_apt_sources_list()
[ -n "$SUDO" ] && fatal "run only under root" [ -n "$SUDO" ] && fatal "run only under root"
for i in "$@" ; do for i in "$@" ; do
[ -s "$i" ] || continue [ -s "$i" ] || continue
perl -i.bak -pe "$SUBST_ALT_RULE" $i #perl -i.bak -pe "$SUBST_ALT_RULE" $i
sed -i -e -r "$SUBST_ALT_RULE" $i
done done
} }
...@@ -3686,7 +3683,6 @@ epm_search() ...@@ -3686,7 +3683,6 @@ epm_search()
__alt_local_content_search() __alt_local_content_search()
{ {
load_helper epm-sh-altlinux
local CI="$(get_local_alt_contents_index)" local CI="$(get_local_alt_contents_index)"
...@@ -3757,7 +3753,6 @@ docmd $CMD $pkg_filenames ...@@ -3757,7 +3753,6 @@ docmd $CMD $pkg_filenames
get_local_alt_contents_index() get_local_alt_contents_index()
{ {
load_helper epm-repolist
epm_repolist | grep "rpm.*file:/" | sed -e "s|^rpm.*file:||g" | while read URL ARCH other ; do epm_repolist | grep "rpm.*file:/" | sed -e "s|^rpm.*file:||g" | while read URL ARCH other ; do
test -d "$URL/$ARCH" || continue # fatal "Local mirror is not accessible via $URL/$ARCH" test -d "$URL/$ARCH" || continue # fatal "Local mirror is not accessible via $URL/$ARCH"
......
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