diff options
| author | Sean Whitton <spwhitton@spwhitton.name> | 2018-05-17 00:22:00 -0700 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2018-05-17 10:32:59 -0400 |
| commit | c7bd6483fa39b42eddb646b827f8617f7cfd3c3d (patch) | |
| tree | 1a002cd4a69418c224c94b21a068c2a0c3d39bc5 /src | |
| parent | 1b0049c3b25b46bfee423d456123ca17aa646429 (diff) | |
Restic.installed: stop trying to install a backport on jessie
No such backport exists in the archive.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Restic.hs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Propellor/Property/Restic.hs b/src/Propellor/Property/Restic.hs index 9415f4bf..01b56510 100644 --- a/src/Propellor/Property/Restic.hs +++ b/src/Propellor/Property/Restic.hs @@ -35,13 +35,7 @@ instance ConfigurableValue ResticRepo where val (REST url) = "rest:" ++ url installed :: Property DebianLike -installed = withOS desc $ \w o -> case o of - (Just (System (Debian _ (Stable "jessie")) _)) -> ensureProperty w $ - Apt.installedBackport ["restic"] - _ -> ensureProperty w $ - Apt.installed ["restic"] - where - desc = "installed restic" +installed = Apt.installed ["restic"] `describe` "installed restic" repoExists :: ResticRepo -> IO Bool repoExists repo = boolSystem "restic" |
