HSHHelpers 0.12 → 0.13
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- HSH/Helpers/UnixUsers.hs +2/−2
- HSHHelpers.cabal +2/−2
HSH/Helpers/UnixUsers.hs view
@@ -96,8 +96,8 @@ | null . SU.strip $ g = fail "addUserToGroup: blank group" | otherwise = let usermodCmd = maybe "usermod" id mbUsermodCmd- in runIO $ render1 [("u",u),("g",g)]- "usermod -G $g$ -a $u$"+ in runIO $ render1 [("usermodCmd",usermodCmd),("u",u),("g",g)]+ "$usermodCmd$ -G $g$ -a $u$" rmUserFromSecondaryGroup :: SysUser -> SysGroup -> IO () rmUserFromSecondaryGroup u g = do
HSHHelpers.cabal view
@@ -1,5 +1,5 @@ Name: HSHHelpers-Version: 0.12+Version: 0.13 License: GPL License-file: gpl.txt Description: Convenience functions and instances for HSH. I will deprecate this package if its contents are integrated into HSH.@@ -7,7 +7,7 @@ Maintainer: Thomas Hartman <thomashartman1 at gmail> Author: Thomas Hartman Stability: Beta-Copyright: Copyright (c) 2006-2008 Thomas Hartman+Copyright: Copyright (c) 2008 Thomas Hartman Exposed-Modules: HSH.Helpers, HSH.Helpers.Instances, HSH.Helpers.UnixUsers, HSH.Helpers.FileManip Build-Depends: base, HSH, unix, HStringTemplateHelpers, MissingH, regex-pcre, directory, bytestring, filepath Category: System