mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-19 01:36:19 +10:00
Add function to list all releases
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
if [[ $1 == "install" ]]; then
|
||||
echo "
|
||||
gvm gos (available)
|
||||
"
|
||||
curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }'
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Failed to get list from Google"
|
||||
exit 1
|
||||
fi
|
||||
echo
|
||||
else
|
||||
echo "Please use gvm [action] to call this file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user