Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 957 Bytes

configurator.md

File metadata and controls

55 lines (37 loc) · 957 Bytes

Raguel Spell: Package Manager

just loading package_manager
if [[ -z "$RAGUEL_DIR" ]]; then
  if [[ -z "$BASH_SOURCE" ]]; then
    RAGUEL_DIR=$(dirname $0)
  else
    RAGUEL_DIR=$(dirname "${BASH_SOURCE[0]}")
  fi
fi
export RAGUEL_DIR="$RAGUEL_DIR/../src"
. "${RAGUEL_DIR}/package_manager.sh"

Provides you with following ENV variables

  • $RAGUEL_DISTRO_TYPE : telling what distro family is RHEL, Debian, etc.
  • $RAGUEL_PACKAGE_INSTALL : setting the auto-install command here
  • $RAGUEL_PACKAGE_UNINSTALL : setting the auto-uninstall command here
  • $RAGUEL_NODENAME : the nodename grabbed from uname goes here
  • $RAGUEL_ARCH : architecture information grabbed from uname goes here

auto_install

syntax

# auto_install <package ...>

usage
auto_install htop

auto_uninstall

syntax

# auto_uninstall <package ...>

usage
auto_uninstall htop