Changes

From SME Server
Jump to navigationJump to search
44 bytes added ,  16:46, 4 July 2015
Line 687: Line 687:     
  #!/bin/bash
 
  #!/bin/bash
  <nowiki>if [[ -z $1 ]]; then</nowiki>
+
  if [[ -z $1 ]]; then
 
  echo "You must specify a name of rpm"
 
  echo "You must specify a name of rpm"
 
  exit
 
  exit
 
  fi
 
  fi
  find {/teams/,/mirrors/} -name "*$1*"
+
  find /teams/ -name "*$1*"
 +
echo ''
 +
echo '## other repo ##'
 +
echo ''
 +
find /mirrors/ -name "*$1*"
 +
 
    
usage:
 
usage:
 
  ./find rpmname
 
  ./find rpmname

Navigation menu