mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-11 13:56:44 +10:00
18 lines
310 B
Bash
Executable File
18 lines
310 B
Bash
Executable File
#!/bin/bash
|
|
if [[ $gvm_go_name == "" ]]; then
|
|
echo "ERROR: No Go version selected"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ -n $1 ]]; then
|
|
rm -rf $GVM_ROOT/pkgsets/$gvm_go_name/$1
|
|
if [[ $? -ne 0 ]]; then
|
|
echo "ERROR: Could not delete package set"
|
|
exit 1
|
|
fi
|
|
else
|
|
echo "ERROR: Please specifiy the name"
|
|
exit 1
|
|
fi
|
|
|