Skip to content

Commit

Permalink
v6.23
Browse files Browse the repository at this point in the history
+ DietPi-Software | Tomcat8: Disable for non-RPi Buster
+ DietPi-Software | NAA Daemon: libasound2 is installed with ALSA; On Stretch+ rely on G_AGF to resolve dependencies which fixes install on Buster where gcc-6-base is not available (the required libstdc++6 depends on gcc-8-base instead).
  • Loading branch information
MichaIng authored May 12, 2019
1 parent ad38e88 commit ae701d8
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,7 @@ DietPi-Software will decrypt and use it for software installs. You can change it
aSOFTWARE_REQUIRES_PHP[$software_id]=1
aSOFTWARE_ONLINEDOC_URL[$software_id]='p=54#p54'

# APT package not available on Debian Buster (but on Raspbian Buster): https://packages.debian.org/phpmyadmin
# - non-RPi Buster: https://packages.debian.org/phpmyadmin
(( $G_HW_MODEL > 9 )) && aSOFTWARE_AVAIL_G_DISTRO[$software_id,5]=0

#------------------
Expand Down Expand Up @@ -1852,6 +1852,9 @@ DietPi-Software will decrypt and use it for software installs. You can change it
aSOFTWARE_ONLINEDOC_URL[$software_id]='p=4316#p4316'
aSOFTWARE_REQUIRES_JAVA_JRE_JDK[$software_id]=1

# - non-RPi Buster: https://packages.debian.org/tomcat8
(( $G_HW_MODEL > 9 )) && aSOFTWARE_AVAIL_G_DISTRO[$software_id,5]=0

#PiHole
#--------------------------------------------------------------------------------
software_id=93
Expand Down Expand Up @@ -4384,7 +4387,7 @@ _EOF_

Banner_Installing

# Skip license for NAA daemon
# Skip license
debconf-set-selections <<< 'networkaudiod networkaudiod/license note false'

# Packages
Expand Down Expand Up @@ -4423,12 +4426,7 @@ _EOF_

done

# Pre-reqs
DEPS_LIST='libasound2'

# - Stretch+ additional packages
(( $G_DISTRO > 3 )) && DEPS_LIST+=' gcc-6-base libstdc++6'

# Install
for i in "${apackages[@]}"
do

Expand Down Expand Up @@ -12760,7 +12758,7 @@ _EOF_

fi

software_id=124
software_id=124 # NAA Daemon
if (( ${aSOFTWARE_INSTALL_STATE[$software_id]} == -1 )); then

Banner_Uninstalling
Expand All @@ -12769,7 +12767,7 @@ _EOF_

fi

software_id=125
software_id=125 # Tomcat8
if (( ${aSOFTWARE_INSTALL_STATE[$software_id]} == -1 )); then

Banner_Uninstalling
Expand Down

0 comments on commit ae701d8

Please sign in to comment.