Commit 198b17d0 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Add build-essential install/deinstall to armbian-config

parent 2db190d6
......@@ -139,6 +139,18 @@ function jobs ()
;;
# Install build essentials
#
"Development" )
if [[ -n $(dpkg -l | grep build-essential) ]]; then
debconf-apt-progress -- apt-get -y remove build-essential
debconf-apt-progress -- apt-get -y autoremove
else
debconf-apt-progress -- apt-get -y install build-essential
fi
;;
# Set the display resolution
#
"Display" )
......
......@@ -738,6 +738,11 @@ while true; do
if [[ -n $(dpkg -l | grep linux-headers) ]]; then LIST+=( "Headers" "Remove kernel headers" ); else \
LIST+=( "Headers" "Install kernel headers" ); fi
if check_if_installed build-essential then ; then
LIST+=( "Development" "Remove base development tools" );
else
LIST+=( "Development" "Install base development tools" );
fi
if [[ -n $DISPLAY_MANAGER ]]; then
if [[ $(service xrdp status 2> /dev/null | grep -w active) ]]; then
LIST+=( "RDP" "Disable remote desktop access from Windows" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment