mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 19:30:28 +08:00
12 lines
206 B
Bash
Executable File
12 lines
206 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
a=0
|
|
while read line
|
|
do
|
|
if [[ -n "$line" && "$line" != \#* ]] ; then
|
|
pip install --use-mirrors $line
|
|
fi
|
|
((a = a + 1))
|
|
done < $1
|
|
echo "$0: Final package count is $a";
|