summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Locale.hs
AgeCommit message (Collapse)Author
2017-08-04Locale: Display an error message when /etc/locale.gen does not contain the ↵Joey Hess
requested locale.
2017-08-01Locale: Make sure that the locales package is installed when enabling locales.Joey Hess
2016-03-26more portingJoey Hess
2016-03-06Locale.available: Run locale-gen, instead of dpkg-reconfigure locales, which ↵Joey Hess
modified the locale.gen file and sometimes caused the property to need to make changes every time.
2015-12-06allow using `check` on a UncheckedProperty, which yields a PropertyJoey Hess
2015-12-05refactorJoey Hess
2015-12-05make Locale.selectedFor check contents of file to decide if it needs to make ↵Joey Hess
a change
2015-12-05UncheckedProperty for cmdProperty et alJoey Hess
* Properties that run an arbitrary command, such as cmdProperty and scriptProperty are converted to use UncheckedProperty, since they cannot tell on their own if the command truely made a change or not. (API Change) Transition guide: - When GHC complains about an UncheckedProperty, add: `assume` MadeChange - Since these properties used to always return MadeChange, that change is always safe to make. - Or, if you know that the command should modifiy a file, use: `changesFile` filename * A few properties have had their Result improved, for example Apt.buldDep and Apt.autoRemove now check if a change was made or not.
2015-11-26shorten reference to locale manpageSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> (cherry picked from commit ad7c9338306094f2d8187107417dd9331cb8f8a0)
2015-11-26improve Haddock for Locale.selectedForSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> (cherry picked from commit ca016d391e2419856e1efc40cc977af6a99af7d6)
2015-11-26locale props use descriptive types & revertableSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> (cherry picked from commit 6d10045ba74c1dc45e6aab4bae8b4757751c1920)
2015-11-26properties to select and generate localesSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> (cherry picked from commit ee14ef80cf9ab761b07fbc40f549ad5c7c72f6cb)