HSHHelpers 0.1 → 0.11
raw patch · 2 files changed
+5/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ HSH.Helpers.UnixUsers: groupadd' :: Maybe FilePath -> SysGroup -> IO ()
Files
- HSH/Helpers/UnixUsers.hs +4/−0
- HSHHelpers.cabal +1/−1
HSH/Helpers/UnixUsers.hs view
@@ -42,6 +42,10 @@ -- wrapper over groupadd groupadd g = runIO $ "groupadd " ++ g+groupadd' :: Maybe FilePath -> SysGroup -> IO ()+groupadd' mbExe g = + let gaCmd = maybe "groupadd" id mbExe+ in runIO $ render1 [("gaCmd",gaCmd),("g",g)] "$gaCmd$ $g$" -- a wrapper over the useradd command useradd uaCmd = do
HSHHelpers.cabal view
@@ -1,5 +1,5 @@ Name: HSHHelpers-Version: 0.1+Version: 0.11 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.