cosmetic changes
This commit is contained in:
parent
8f34bb5aae
commit
b674a88161
1 changed files with 2 additions and 2 deletions
|
@ -186,13 +186,13 @@ function addKey () {
|
||||||
#
|
#
|
||||||
function addRepo () {
|
function addRepo () {
|
||||||
typeset ret_code
|
typeset ret_code
|
||||||
printf "[REPO] adding : $2 in $1"
|
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=$?
|
||||||
retCode $ret_code
|
retCode $ret_code
|
||||||
if [ "$#" -eq 3 ]; then
|
if [ "$#" -eq 3 ]; then
|
||||||
printf "[REPO] adding : $3 in $1"
|
printf "[REPO] adding : $3 in $1 "
|
||||||
printf "\n[REPO] adding $3 in $1\n" &>> $logFile
|
printf "\n[REPO] adding $3 in $1\n" &>> $logFile
|
||||||
echo $3 | sudo tee -a /etc/apt/sources.list.d/$1 &>> $logFile
|
echo $3 | sudo tee -a /etc/apt/sources.list.d/$1 &>> $logFile
|
||||||
ret_code=$?
|
ret_code=$?
|
||||||
|
|
Loading…
Reference in a new issue