#! /bin/bash . /usr/src/k_framework/main.sh # ---- VARS ----- VERSION="1.0.1" SCRIPT_NAME="Screen Install" # ---- FUNCTIONS ----- # ---- MAIN ----- k_start if [ ! -f /usr/bin/screen ]; then report "Starting screen install..." 3 yum -y install screen fi if [ ! -f /root/.screenrc ]; then report "Updating /root/.screenrc" 3 cp -fr /usr/src/k_framework/helpers/screen/.screenrc /root/ fi if [ -f /usr/bin/screen ]; then report "screen installed" 0 fi k_exit $EXIT_CODE