Browse Source

yum is deprecated; use dnf in util function

Alois Mahdal 8 years ago
parent
commit
2637454cc0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/bash/main.bashrc

+ 1
- 1
dotfiles/bash/main.bashrc View File

189
     local bname
189
     local bname
190
     for bname in "$@";
190
     for bname in "$@";
191
     do
191
     do
192
-        yum provides "*bin/$bname" \
192
+        dnf provides "*bin/$bname" \
193
           | grep '^.' \
193
           | grep '^.' \
194
           | grep -E '^[0-9a-zA-Z_:.-]+ :'
194
           | grep -E '^[0-9a-zA-Z_:.-]+ :'
195
     done
195
     done