diff --git a/dietpi/dietpi-software b/dietpi/dietpi-software index 49856f2363..ec8b93eb83 100755 --- a/dietpi/dietpi-software +++ b/dietpi/dietpi-software @@ -3302,7 +3302,7 @@ _EOF_ then url="https://dietpi.com/downloads/binaries/dietpi-dashboard-$G_HW_ARCH_NAME$backend.zip" - if [[ $version == 'Stable' ]] + elif [[ $version == 'Stable' ]] then Download_Install "$(curl -sSfL 'https://api.github.com/repos/ravenclaw900/dietpi-dashboard/releases/latest' | mawk -F\" "/^ *\"browser_download_url\": \".*dietpi-dashboard-$G_HW_ARCH_NAME$backend\"$/{print \$4}")" /opt/dietpi-dashboard/dietpi-dashboard url="https://raw.githubusercontent.com/ravenclaw900/DietPi-Dashboard/$(curl -sSfL 'https://api.github.com/repos/ravenclaw900/dietpi-dashboard/releases/latest' | mawk -F\" '/^ *"tag_name": "[^"]*",$/{print $4}')/config.toml"