}
http.HandleFunc(*norefreshURLPath, handler)
http.HandleFunc(*refreshURLPath, handler)
- http.HandleFunc(*gpgUpdateURLPath, handler)
+ if *gpgUpdateURLPath != "" {
+ http.HandleFunc(*gpgUpdateURLPath, handler)
+ }
needsRefreshPasswd := make(chan os.Signal, 0)
needsShutdown := make(chan os.Signal, 0)
########################################################################
cd packages
for pkg in * ; do
+ # Assume gocheese -gpgupdate /gpgupdate/
curl http://localhost:8080/gpgupdate/$pkg/ > /dev/null
done