Skip to content

Commit

Permalink
v7.8
Browse files Browse the repository at this point in the history
+ DietPi-Software | Rename to DietPi-Dashboard
  • Loading branch information
ravenclaw900 committed Nov 6, 2021
1 parent ed3c254 commit c211e5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dietpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@ SOFTWARE_HOMEASSISTANT_PIP_DEPS=
# https://rancher.com/docs/k3s/latest/en/installation/install-options/#configuration-file
SOFTWARE_K3S_EXEC=

# DietPi Dashboard
# DietPi-Dashboard
# Version to use
# - Stable = Use release version of DietPi Dashboard.
# - Nightly = Use unstable version DietPi Dashboard. Might have bugs, but will probably have more features.
# - Stable = Use release version of DietPi-Dashboard.
# - Nightly = Use unstable version DietPi-Dashboard. Might have bugs, but will probably have more features.
SOFTWARE_DIETPI_DASHBOARD_VERSION=Stable

#------------------------------------------------------------------------------------------------------
Expand Down
12 changes: 6 additions & 6 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ INDEX_BROWSER_TARGET=$INDEX_BROWSER_TARGET"
#------------------
software_id=200

aSOFTWARE_NAME[$software_id]='DietPi Dashboard (beta)'
aSOFTWARE_NAME[$software_id]='DietPi-Dashboard (beta)'
aSOFTWARE_DESC[$software_id]='Official DietPi web dashboard'
aSOFTWARE_CATX[$software_id]=8
aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/dietpi_tools/#dietpi-dashboard'
Expand Down Expand Up @@ -3516,7 +3516,7 @@ _EOF_

fi

software_id=200 # DietPi Dashboard
software_id=200 # DietPi-Dashboard
if (( ${aSOFTWARE_INSTALL_STATE[$software_id]} == 1 )); then

Banner_Installing
Expand All @@ -3542,13 +3542,13 @@ _EOF_
[[ $version == 'Nightly' ]] || version='Stable'

G_WHIP_MENU_ARRAY=(
'Stable' ': Use a release version of the DietPi Dashboard.'
'Nightly' ': Use an unstable version of the DietPi Dashboard.'
'Stable' ': Use a release version of DietPi-Dashboard.'
'Nightly' ': Use an unstable version of DietPi-Dashboard.'
)

G_WHIP_BUTTON_CANCEL_TEXT=$version
G_WHIP_DEFAULT_ITEM=$version
G_WHIP_MENU "Please choose which version of DietPi Dashboard should be installed." && version=$G_WHIP_RETURNED_VALUE
G_WHIP_MENU "Please choose which version of DietPi-Dashboard should be installed." && version=$G_WHIP_RETURNED_VALUE

if [[ $version == 'Stable' ]]
then
Expand All @@ -3572,7 +3572,7 @@ key = "/path/to/key"
_EOF_
cat << '_EOF_' > /etc/systemd/system/dietpi-dashboard.service
[Unit]
Description=DietPi Dashboard
Description=Web Dashboard (DietPi)
Wants=network-online.target
After=network-online.target

Expand Down

0 comments on commit c211e5c

Please sign in to comment.