fix use of suite
This commit is contained in:
parent
227effc1ad
commit
14c758970d
|
@ -213,7 +213,7 @@ unattendedUpgrades = RevertableProperty enable disable
|
||||||
| not (isStable suite) -> ensureProperty $
|
| not (isStable suite) -> ensureProperty $
|
||||||
"/etc/apt/apt.conf.d/50unattended-upgrades"
|
"/etc/apt/apt.conf.d/50unattended-upgrades"
|
||||||
`File.containsLine`
|
`File.containsLine`
|
||||||
("Unattended-Upgrade::Origins-Pattern { \"o=Debian,a=unstable\"; };")
|
("Unattended-Upgrade::Origins-Pattern { \"o=Debian,a="++suite++"\"; };")
|
||||||
_ -> noChange
|
_ -> noChange
|
||||||
|
|
||||||
-- | Preseeds debconf values and reconfigures the package so it takes
|
-- | Preseeds debconf values and reconfigures the package so it takes
|
||||||
|
|
Loading…
Reference in New Issue