<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>14611</bug_id>
          
          <creation_ts>2008-02-21 22:32:42 +0300</creation_ts>
          <short_desc>Missed dependency on &apos;which&apos;</short_desc>
          <delta_ts>2008-02-22 12:10:54 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>vimtutor</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolay A. Fetisov">naf</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>admsasha</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64314</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2008-02-21 22:32:42 +0300</bug_when>
    <thetext>В скрипте /usr/bin/vimtutor используется вызов команды which из одноимённого 
пакета (строки 44-54) для определения версии vim. Зависимость на which в пакете 
не указана, в случае отсутствия which в системе скрипт выбирает для запуска 
руководства vi.

Как следствие, руководство не выводится с ошибками вида:
Error detected while processing /usr/share/vim/tutor/tutor.vim:
line   13:
E319: Sorry, the command is not available in this version: let s:ext = &quot;&quot;

Steps to Reproduce:
apt-get remove which
vimtutor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64317</commentid>
    <comment_count>1</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2008-02-21 23:22:12 +0300</bug_when>
    <thetext>Неправда.

# When no Vim version was found fall back to &quot;vim&quot;, you&apos;ll get an error message
# below.
if test -z &quot;$VIM&quot;; then
        VIM=vim
fi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64347</commentid>
    <comment_count>2</comment_count>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2008-02-22 12:10:42 +0300</bug_when>
    <thetext>Да, наврал. Поймал на старом 7.0.224-alt2, в текущем 7.1.137-alt1 зависимости 
на which тоже не обнаружил - и повесил. Извиняюсь.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>