Fix refreshing package files after upload
This commit is contained in:
parent
813a4b07a3
commit
b65a8464d7
@ -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]
|
||||
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user