remove garbage file
This commit is contained in:
parent
ef7c4f26f7
commit
c7b6273166
1 changed files with 0 additions and 30 deletions
30
tes.go
30
tes.go
|
@ -1,30 +0,0 @@
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"errors"
|
|
||||||
"git.shadowhosting.xyz/Eggactyl/shell/linux"
|
|
||||||
"log"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
|
|
||||||
cmd, err := linux.NewCommand(linux.CommandOptions{
|
|
||||||
Command: "./package",
|
|
||||||
//Sources: []string{"./nvm.sh"},
|
|
||||||
Args: []string{"install"},
|
|
||||||
CustomErrors: map[int8]error{
|
|
||||||
1: errors.New("failed to download package"),
|
|
||||||
},
|
|
||||||
//Cwd: "/home/<user>/<dir>",
|
|
||||||
//Shell: "/bin/bash",
|
|
||||||
})
|
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
log.Fatal(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
if err := cmd.Run(); err != nil {
|
|
||||||
log.Fatal(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue