mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
1 parent
8fd48e9fa9
commit
52faf78324
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -97,7 +97,7 @@ func (context *AptlyContext) config() *utils.ConfigStructure {
|
||||
}
|
||||
} else {
|
||||
homeLocation := filepath.Join(os.Getenv("HOME"), ".aptly.conf")
|
||||
configLocations := []string{ homeLocation, "/etc/aptly.conf", }
|
||||
configLocations := []string{homeLocation, "/usr/local/etc/aptly.conf", "/etc/aptly.conf"}
|
||||
|
||||
for _, configLocation := range configLocations {
|
||||
// FIXME: check if exists, check if readable
|
||||
|
||||
Reference in new issue
Block a user