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"
- $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 <package ...>
auto_install htop
# auto_uninstall <package ...>
auto_uninstall htop