changes
This commit is contained in:
parent
5f2caab7de
commit
95f4cfa7ec
1 changed files with 2 additions and 2 deletions
4
setup.sh
4
setup.sh
|
@ -71,7 +71,7 @@ confirm_continue
|
||||||
|
|
||||||
message "Continue with installation..."
|
message "Continue with installation..."
|
||||||
|
|
||||||
if ! groups | grep sudo
|
if ! groups | grep sudo > /dev/null
|
||||||
then
|
then
|
||||||
message error "Your user $USER is not in group 'sudo'."
|
message error "Your user $USER is not in group 'sudo'."
|
||||||
message error "Add your user to the group with: ${YELLOW}su -c \"usermod -aG sudo ${USER}\"${ENDCOLOR}"
|
message error "Add your user to the group with: ${YELLOW}su -c \"usermod -aG sudo ${USER}\"${ENDCOLOR}"
|
||||||
|
@ -79,7 +79,7 @@ then
|
||||||
error
|
error
|
||||||
fi
|
fi
|
||||||
message "check sources.list"
|
message "check sources.list"
|
||||||
if ! grep "contrib" /etc/apt/sources.list > /dev/null && grep "non-free" /etc/apt/sources.list > /dev/null
|
if ( ! grep "contrib" /etc/apt/sources.list > /dev/null ) && ( ! grep "non-free" /etc/apt/sources.list > /dev/null )
|
||||||
then
|
then
|
||||||
message warn "'contrib' and 'non-free' not in your sources.ist, i will deploy my own"
|
message warn "'contrib' and 'non-free' not in your sources.ist, i will deploy my own"
|
||||||
confirm_continue
|
confirm_continue
|
||||||
|
|
Loading…
Reference in a new issue