diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-03-24 20:20:34 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-03-24 20:27:47 -0400 |
| commit | e3a44ab5825466f9db9c4749497445bd0af1068e (patch) | |
| tree | 038e97af1b86be7d7121023448046b0e712faea7 /debian | |
| parent | 16ea40620ef2dbd62a2e8d5d8eb153e03d0c5848 (diff) | |
add tightenTargets, ported Network properties (DebinLike only)
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 323394f9..ead6585e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,12 @@ propellor (3.0.0) UNRELEASED; urgency=medium of `ensureProperty` for an example, but basically, change this: foo = property desc $ ... ensureProperty bar to this: foo = property' desc $ \o -> ... ensureProperty o bar + - General purpose properties like cmdProperty have type "Property UnixLike". + When using that to run a command only available on Debian, you can + tighten the targets to only the OS that your more specific + property works on. For example: + upgraded :: Property Debian + upgraded = tightenTargets (cmdProperty "apt-get" ["upgrade"]) - The new `pickOS` property combinator can be used to combine different properties, supporting different OS's, into one Property that chooses what to do based on the Host's OS. |
