find __package* -type f -exec sed -i 's/deinstalled/removed/g' {} \;

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-05 16:25:13 +02:00
parent 231d6a4986
commit 4ebcdc3ef1
3 changed files with 6 additions and 6 deletions

View file

@ -17,7 +17,7 @@ manage packages.
REQUIRED PARAMETERS REQUIRED PARAMETERS
------------------- -------------------
state:: state::
Either "installed" or "deinstalled". Either "installed" or "removed".
OPTIONAL PARAMETERS OPTIONAL PARAMETERS
@ -37,7 +37,7 @@ __package_apt zsh --state installed
__package_apt webserver --state installed --name nginx __package_apt webserver --state installed --name nginx
# Remove obsolete package # Remove obsolete package
__package_apt puppet --state deinstalled __package_apt puppet --state removed
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -17,7 +17,7 @@ packages.
REQUIRED PARAMETERS REQUIRED PARAMETERS
------------------- -------------------
state:: state::
Either "installed" or "deinstalled". Either "installed" or "removed".
OPTIONAL PARAMETERS OPTIONAL PARAMETERS
@ -37,7 +37,7 @@ __package_pacman zsh --state installed
__package_pacman python --state installed --name python2 __package_pacman python --state installed --name python2
# Remove obsolete package # Remove obsolete package
__package_pacman puppet --state deinstalled __package_pacman puppet --state removed
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -18,7 +18,7 @@ slightly confusing error message "Error: Nothing to do".
REQUIRED PARAMETERS REQUIRED PARAMETERS
------------------- -------------------
state:: state::
Either "installed" or "deinstalled". Either "installed" or "removed".
OPTIONAL PARAMETERS OPTIONAL PARAMETERS
@ -38,7 +38,7 @@ __package_yum zsh --state installed
__package_yum python --state installed --name python2 __package_yum python --state installed --name python2
# Remove obsolete package # Remove obsolete package
__package_yum puppet --state deinstalled __package_yum puppet --state removed
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------