Open aiegoo opened 5 years ago
1 2 if [ -z "$1" ] 3 then 4 echo "Repository name needed as argument"; 5 exit; 6 fi 7 8 config_file="/etc/server-update/slavelist.txt" 9 10 while read line; 11 do 12 echo "Sending request to $line"; 13 curl "$line/get/?repo=$1"; 14 done < $config_file 15 ~
set list listchars=tab:\ \ ,trail:∙