need ext
This commit is contained in:
parent
69eb566e0b
commit
bddb6306f5
|
@ -88,7 +88,7 @@ setSourcesList ls = sourcesList `File.hasContent` ls `onChange` update
|
|||
setSourcesListD :: [Line] -> FilePath -> Property
|
||||
setSourcesListD ls basename = f `File.hasContent` ls `onChange` update
|
||||
where
|
||||
f = "/etc/apt/sources.list.d/" ++ basename
|
||||
f = "/etc/apt/sources.list.d/" ++ basename ++ ".list"
|
||||
|
||||
runApt :: [String] -> Property
|
||||
runApt ps = cmdProperty' "apt-get" ps noninteractiveEnv
|
||||
|
|
Loading…
Reference in New Issue