propellor-4.7.7: 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 # 
Show InstallStatus Source # 

Methods

showsPrec :: Int -> InstallStatus -> ShowS

show :: InstallStatus -> String

showList :: [InstallStatus] -> ShowS

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