propellor-5.5.0: property-based host configuration management in haskell

MaintainerZihao Wang <dev@wzhd.org>
Safe HaskellNone
LanguageHaskell98

Propellor.Property.Pacman

Description

Support for the Pacman package manager https://www.archlinux.org/pacman/

Synopsis

Documentation

update :: Property ArchLinux Source #

Have pacman update its lists of packages, but without upgrading anything.

type Package = String Source #

isInstalled :: Package -> IO Bool Source #

isInstalled' :: [Package] -> IO Bool Source #

data InstallStatus Source #

Constructors

IsInstalled 
NotInstalled 
Instances
Eq InstallStatus Source # 
Instance details

Defined in Propellor.Property.Pacman

Show InstallStatus Source # 
Instance details

Defined in Propellor.Property.Pacman

Methods

showsPrec :: Int -> InstallStatus -> ShowS

show :: InstallStatus -> String

showList :: [InstallStatus] -> ShowS

succeeds :: String -> [String] -> IO Bool Source #