Try 07
This commit is contained in:
parent
bee4c25f1f
commit
c7c3f203b2
|
@ -50,10 +50,10 @@ func (hr *APKRepository) Add() error {
|
|||
}
|
||||
|
||||
if URLIsPresent {
|
||||
fmt.Printf("DEBUG %v", URLIsPresent)
|
||||
fmt.Printf("DEBUG %v\n", URLIsPresent)
|
||||
return nil
|
||||
} else {
|
||||
data := fmt.Sprintf("%s", hr.URL)
|
||||
data := fmt.Sprintf("%s\n", hr.URL)
|
||||
fmt.Printf("DEBUG %v", data)
|
||||
file, err := os.OpenFile(APKConfigFile, os.O_APPEND|os.O_WRONLY, 0644)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue