flatface.go:Fixed useless rest of newline characters

This commit is contained in:
mollusk 2018-01-02 03:17:33 -07:00
parent f917450a0a
commit 1e2e94ba4d

View File

@ -59,6 +59,7 @@ func listPak() {
fmt.Print("\n", "Results for ", ": \n\n", string(out), "\n\n") fmt.Print("\n", "Results for ", ": \n\n", string(out), "\n\n")
} }
//// TODO
/* /*
func optionsMenu() { func optionsMenu() {
var choice string var choice string
@ -78,18 +79,18 @@ func updatePak() {
if err != nil { if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err) log.Fatalf("cmd.Run() failed with %s\n", err)
} }
fmt.Print("\n", "\n\n", string(out), "\n\n") fmt.Print(string(out))
} }
func checkRepo() { func checkRepo() {
print("\nSyncing repos...\n\n") print("\nSyncing repos...\n")
cmd := exec.Command("flatpak", "remote-add", "--if-not-exists", "flathub", "https://flathub.org/repo/flathub.flatpakrepo") cmd := exec.Command("flatpak", "remote-add", "--if-not-exists", "flathub", "https://flathub.org/repo/flathub.flatpakrepo")
out, err := cmd.CombinedOutput() out, err := cmd.CombinedOutput()
updatePak() updatePak()
if err != nil { if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err) log.Fatalf("cmd.Run() failed with %s\n", err)
} }
fmt.Print("\n", "\n\n", string(out), "\n\n") fmt.Print(string(out))
} }
func mainMenu() { func mainMenu() {
print("\n\n| FlatFace v0.0.1a |\n\n") print("\n\n| FlatFace v0.0.1a |\n\n")