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
|
archType = queryArchType
|
||||||
}
|
}
|
||||||
|
|
||||||
|
modifiedArches[archType] = true
|
||||||
|
|
||||||
// Get current packages
|
// Get current packages
|
||||||
packages, exists := distro.Architectures[archType]
|
packages, exists := distro.Architectures[archType]
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
var VERSION string = "1.3.5"
|
var VERSION string = "1.3.6"
|
||||||
|
|
||||||
func packageName(name string) string {
|
func packageName(name string) string {
|
||||||
if index := strings.Index(name, "_"); index != -1 {
|
if index := strings.Index(name, "_"); index != -1 {
|
||||||
|
@ -34,7 +34,7 @@ type DeleteObj struct {
|
||||||
var (
|
var (
|
||||||
mutex sync.RWMutex
|
mutex sync.RWMutex
|
||||||
configFile = flag.String("c", "conf.ini", "config file location")
|
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{}
|
conf = Conf{}
|
||||||
pgpEntity *openpgp.Entity
|
pgpEntity *openpgp.Entity
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue