summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Apt.hs')
-rw-r--r--src/Propellor/Property/Apt.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index 7301a6ae..b9182baf 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -119,9 +119,11 @@ noninteractiveEnv =
]
update :: Property NoInfo
-update = runApt ["update"]
- `assume` MadeChange
- `describe` "apt update"
+update = combineProperties ("apt update")
+ [ pendingConfigured
+ , runApt ["update"]
+ `assume` MadeChange
+ ]
-- | Have apt upgrade packages, adding new packages and removing old as
-- necessary.