yggdrasil_ng/vars.sh

66 lines
1.5 KiB
Bash
Raw Normal View History

2017-12-30 22:08:45 +00:00
#------------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : Mint 18, Ubuntu 16.04, Elementary and other derivatives #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
2017-12-30 22:08:45 +00:00
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Script's cons. and vars. #
#------------------------------------------------------------------------------#
#
# app version number
#
2018-06-11 22:15:35 +00:00
version="0.5.0-b5"
2017-12-30 22:08:45 +00:00
#
# myHomedir is used in full paths to the homedir
#
myHomedir=$(whoami)
#
# logfile
#
logFile="/home/"$myHomedir"/yggdrasil.log"
#
# date and time
#
cTime=$(date +%H:%M)
cDate=$(date +%d-%m-%Y)
2018-01-01 15:58:02 +00:00
#
# repo/ppa added counter
#
repoAdded=0
#
# ygginit flag for CLI mode
#
2018-06-05 12:21:47 +00:00
ygginitCount=false
2017-12-30 22:08:45 +00:00
#
# shell color codes
#
UNDERLINE=$(tput sgr 0 1)
BOLD=$(tput bold)
ROUGE=$(tput setaf 1)
VERT=$(tput setaf 2)
JAUNE=$(tput setaf 3)
BLEU=$(tput setaf 4)
MAUVE=$(tput setaf 5)
CYAN=$(tput setaf 6)
BLANC=$(tput setaf 7)
NORMAL=$(tput sgr0)
INV=$(tput smso)
BOLDROUGE=${BOLD}${ROUGE}
BOLDVERT=${BOLD}${VERT}
BOLDJAUNE=${BOLD}${JAUNE}
BOLDBLEU=${BOLD}${BLEU}
BOLDMAUVE=${BOLD}${MAUVE}
BOLDCYAN=${BOLD}${CYAN}
2018-01-01 15:58:02 +00:00
BOLDBLANC=${BOLD}${BLANC}