cosmetic changes

This commit is contained in:
Francois B 2018-03-14 12:16:05 +01:00
parent 2cc3c26b10
commit 8f34bb5aae

View file

@ -153,7 +153,6 @@ function addPPA () {
sudo add-apt-repository -y $* &>> $logFile sudo add-apt-repository -y $* &>> $logFile
ret_code=$? ret_code=$?
retCode $ret_code retCode $ret_code
printf "\n"
} }
# #
@ -179,7 +178,6 @@ function addKey () {
retCode $ret_code retCode $ret_code
;; ;;
esac esac
printf "\n"
} }
# #
@ -188,7 +186,7 @@ function addKey () {
# #
function addRepo () { function addRepo () {
typeset ret_code typeset ret_code
printf "[REPO] adding : $2 in $1\n" printf "[REPO] adding : $2 in $1"
printf "\n[REPO] adding $2 in $1\n" &>> $logFile printf "\n[REPO] adding $2 in $1\n" &>> $logFile
echo $2 | sudo tee /etc/apt/sources.list.d/$1 &>> $logFile echo $2 | sudo tee /etc/apt/sources.list.d/$1 &>> $logFile
ret_code=$? ret_code=$?
@ -200,7 +198,6 @@ function addRepo () {
ret_code=$? ret_code=$?
retCode $ret_code retCode $ret_code
fi fi
printf "\n"
} }
# #