Comment the scripts in system/bin

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2018-12-13 21:54:40 +01:00
parent 09d9f2c1c8
commit e405bbcd89
7 changed files with 94 additions and 21 deletions

View file

@ -1,7 +1,17 @@
#!/bin/bash
#
# SCRIPT NAME:
# utils.sh
#
# Author: Severin Kaderli <severin.kaderli@gmail.com>
# AUTHOR:
# Severin Kaderli <severin.kaderli@gmail.com>
#
# DESCRIPTION:
# This script provides functions that I use in my other scripts. It is
# not supposed to be run directly.
#
# USAGE:
# Source this script in the needed script.
#######################################
# Directory variables
#######################################
@ -32,8 +42,8 @@ function print_header() {
# Creates the given directory in the home directory
# $1: Directory
function create_directory() {
echo -e "- Creating directory ${YELLOW}${HOME}/${dir}${RESET}"
mkdir -p "${HOME}/${dir}"
echo -e "- Creating directory ${YELLOW}${HOME}/${1}${RESET}"
mkdir -p "${HOME}/${1}"
}
# Creates a symlink of the given file from the home directory to here.