|
|
@ -31,9 +31,23 @@ function askConfirmation (){ |
|
|
|
|
|
|
|
[ `id -u` -eq 0 ] && echo 'normal user required' && exit -1 |
|
|
|
|
|
|
|
ALLOWED_USERS=$(id -un) #CUSTOMIZE if needed! |
|
|
|
GIT_REPOSITORY_RAW="https://git.artcode.re/pvincent/debian-gnome/raw/master" |
|
|
|
# variables and constants |
|
|
|
|
|
|
|
LOGOUT_REQUIRED=false |
|
|
|
GIT_REPOSITORY_RAW="https://git.artcode.re/pvincent/debian-gnome/raw/master" |
|
|
|
ALLOWED_USERS=$(id -un) #CUSTOMIZE if needed! |
|
|
|
REQUIRED_PACKAGES=(git wget curl htop) |
|
|
|
|
|
|
|
# required packages |
|
|
|
for package in ${REQUIRED_PACKAGES[@]}; do |
|
|
|
runVoid dpkg-query --status $package |
|
|
|
if [ $? -ne 0 ] ; then |
|
|
|
echo -n "installing package <$package> ... " ; |
|
|
|
sudo apt install -y $package |
|
|
|
echo "DONE" |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
## openssh-server |
|
|
|
PGKNAME='openssh-server' |
|
|
@ -128,6 +142,7 @@ if [ $? -ne 0 ] ; then |
|
|
|
gsettings set org.gnome.shell.extensions.system-monitor memory-display false |
|
|
|
gsettings set org.gnome.shell.extensions.system-monitor net-display true |
|
|
|
gsettings set org.gnome.shell.extensions.system-monitor net-style digit |
|
|
|
gsettings set org.gnome.shell.extensions.system-monitor net-show-text false |
|
|
|
gsettings set org.gnome.shell.extensions.system-monitor icon-display false |
|
|
|
gsettings set org.gnome.shell.extensions.system-monitor disk-display false |
|
|
|
else |
|
|
@ -141,6 +156,7 @@ if [ $? -ne 0 ] ; then |
|
|
|
LOGOUT_REQUIRED=true |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [[ $LOGOUT_REQUIRED == true ]];then |
|
|
|
echo |
|
|
|
echo "****************************************************************" |
|
|
|