Fix refreshing package files after upload

This commit is contained in:
Tyler 2017-09-17 19:15:41 -04:00
parent 813a4b07a3
commit b65a8464d7
2 changed files with 4 additions and 2 deletions

View File

@ -150,6 +150,8 @@ func uploadHandler(w http.ResponseWriter, r *http.Request) {
archType = queryArchType
}
modifiedArches[archType] = true
// Get current packages
packages, exists := distro.Architectures[archType]

View File

@ -16,7 +16,7 @@ import (
"io"
)
var VERSION string = "1.3.5"
var VERSION string = "1.3.6"
func packageName(name string) string {
if index := strings.Index(name, "_"); index != -1 {
@ -34,7 +34,7 @@ type DeleteObj struct {
var (
mutex sync.RWMutex
configFile = flag.String("c", "conf.ini", "config file location")
flagShowVersion = flag.Bool("version", false, "Show dnsconfig version")
flagShowVersion = flag.Bool("version", false, "Show deb-simple version")
conf = Conf{}
pgpEntity *openpgp.Entity
)