#!/bin/bash source ../functions/main # Removing /cross-tools directory if [ -d /cross-tools ]; then DEST=/usr/src/cross-tools if [ -d ${DEST} ]; then # Remove old backup rm -rf ${DEST} fi mv /cross-tools ${DEST} fi exit $?