Maintainer | Zihao Wang <dev@wzhd.org> |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Propellor.Property.Pacman
Description
Support for the Pacman package manager https://www.archlinux.org/pacman/
Synopsis
- runPacman :: [String] -> UncheckedProperty ArchLinux
- update :: Property ArchLinux
- upgrade :: Property ArchLinux
- type Package = String
- installed :: [Package] -> Property ArchLinux
- installed' :: [String] -> [Package] -> Property ArchLinux
- removed :: [Package] -> Property ArchLinux
- isInstalled :: Package -> IO Bool
- isInstalled' :: [Package] -> IO Bool
- data InstallStatus
- getInstallStatus :: [Package] -> IO [InstallStatus]
- succeeds :: String -> [String] -> IO Bool
Documentation
update :: Property ArchLinux Source #
Have pacman update its lists of packages, but without upgrading anything.
data InstallStatus Source #
Constructors
IsInstalled | |
NotInstalled |
Instances
Eq InstallStatus Source # | |
Defined in Propellor.Property.Pacman Methods (==) :: InstallStatus -> InstallStatus -> Bool # (/=) :: InstallStatus -> InstallStatus -> Bool # | |
Show InstallStatus Source # | |
Defined in Propellor.Property.Pacman Methods showsPrec :: Int -> InstallStatus -> ShowS # show :: InstallStatus -> String # showList :: [InstallStatus] -> ShowS # |
getInstallStatus :: [Package] -> IO [InstallStatus] Source #