Commit e3dc3b7f authored by Vitaly Lipatov's avatar Vitaly Lipatov

query_file: try search in global base if failed in installed

parent 1b6ae644
1. Разобраться с поиском по локальным пакетам
2. Дописать таблицу на вики и по ней справку
4. Проверить, что в общем всё работает
6. rpmqf, если не найдёт в локальной базе, могла бы искать в глобальной (search_file)
7. Дописать начатый reinstall (повторную установку), с --force при установке пакета
Отказаться от distr_vendor в rpm-build-altlinux-compat и использовать distr_info отсюда.
......
......@@ -18,6 +18,8 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
load_helper epm-search_file
# copied from etersoft-build-utils/bin/rpmqf
# use and modify TOFILE recursively
......@@ -97,7 +99,7 @@ epm_query_file()
for i in $pkg_filenames ; do
real_file "$i"
__do_query $FULLFILEPATH
__do_query $FULLFILEPATH || pkg_filenames=$i epm_search_file
done
}
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