Changes

From SME Server
Jump to navigationJump to search
No change in size ,  17:49, 4 July 2015
Line 685: Line 685:  
==== Find ====
 
==== Find ====
 
Like the name, simply find rpm in buildsrv
 
Like the name, simply find rpm in buildsrv
<nowiki>
+
 
 
  #!/bin/bash
 
  #!/bin/bash
  if [[ -z $1 ]]; then
+
  <nowiki>if [[ -z $1 ]]; then</nowiki>
 
  echo "You must specify a name of rpm"
 
  echo "You must specify a name of rpm"
 
  exit
 
  exit
Line 695: Line 695:  
  echo '## other repo ##'
 
  echo '## other repo ##'
 
  echo ''
 
  echo ''
  find /mirrors/ -name "*$1*"</nowiki>
+
  find /mirrors/ -name "*$1*"
       
usage:
 
usage:
 
  ./find rpmname
 
  ./find rpmname

Navigation menu