mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
Indent listall
This commit is contained in:
+4
-1
@@ -1,11 +1,14 @@
|
||||
#!/bin/bash
|
||||
. $GVM_ROOT/scripts/functions
|
||||
curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }'
|
||||
echo
|
||||
display_message "gvm gos (available)"
|
||||
echo
|
||||
versions=`curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }' | grep "release" | sort`
|
||||
if [[ $? -ne 0 ]]; then
|
||||
display_error "Failed to get version list from Google"
|
||||
fi
|
||||
for version in $versions; do
|
||||
echo " $version"
|
||||
done
|
||||
echo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user