diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-11-11 15:11:18 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-11-11 15:11:18 -0400 |
| commit | 10c12d629650bed532d83b9f1c622a183ca45dab (patch) | |
| tree | c3d11b8aeb89a15303ea49b8ea6c2eb930d9f9ed /src | |
| parent | d934e7aaa7f2066115b2934aafb9eb03be1668c7 (diff) | |
| parent | edf12c8643f2d7eef439efe36265ca9be6838938 (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/PropellorRepo.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/PropellorRepo.hs b/src/Propellor/Property/PropellorRepo.hs index 20c13df1..d4c4abe5 100644 --- a/src/Propellor/Property/PropellorRepo.hs +++ b/src/Propellor/Property/PropellorRepo.hs @@ -11,8 +11,8 @@ import Propellor.Git -- -- This property is useful when hosts are being updated without using -- --spin, eg when using the `Propellor.Property.Cron.runPropellor` cron job. -hasUrl :: String -> Property NoInfo -hasUrl u = property ("propellor repo url " ++ u) $ do +hasOriginUrl :: String -> Property NoInfo +hasOriginUrl u = property ("propellor repo url " ++ u) $ do curru <- liftIO getRepoUrl if curru == Just u then return NoChange |
