Skip to content

Commit

Permalink
v6.26
Browse files Browse the repository at this point in the history
+ DietPi-Software | XRDP: On Stretch, install version from backports, which resolves missing /etc/profile (e.g. $PATH) load and failing install+service if IPv6 is disabled: #3017
  • Loading branch information
MichaIng authored Jul 30, 2019
1 parent 165c551 commit 5ecfb21
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -3212,6 +3212,12 @@ Package: *php7.3*\nPin: release *\nPin-Priority: -1' > /etc/apt/preferences.d/di
if (( ${aSOFTWARE_INSTALL_STATE[$software_id]} == 1 )); then

Banner_Installing
# On Stretch, use backports, which resolves missing /etc/profile (e.g. $PATH) load and failing install+service if IPv6 is disabled: https://github.com/MichaIng/DietPi/issues/3017
(( $G_DISTRO == 4 )) && cat << _EOF_ > /etc/apt/preferences.d/dietpi-xrdp
Package: xrdp
Pin: release n=stretch-backports
Pin-Priority: 501
_EOF_
G_AGI xrdp

fi
Expand Down Expand Up @@ -12290,6 +12296,7 @@ _EOF_

Banner_Uninstalling
G_AGP xrdp
[[ -f '/etc/apt/preferences.d/dietpi-xrdp' ]] && rm /etc/apt/preferences.d/dietpi-xrdp

fi

Expand Down

0 comments on commit 5ecfb21

Please sign in to comment.