Skip to content

Commit

Permalink
v9.10
Browse files Browse the repository at this point in the history
- DietPi-Software | Add PHP 8.4 for Trixie and update fallback URLs
  • Loading branch information
MichaIng committed Jan 13, 2025
1 parent aeacf45 commit 8be8c29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dietpi/dietpi-services
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ _EOF_
'postgresql'

# - PHP
'php7.3-fpm' # Buster
'php7.4-fpm' # Bullseye
'php8.2-fpm' # Bookworm
'php8.4-fpm' # Trixie

# - Webservers
'apache2'
Expand Down
7 changes: 4 additions & 3 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ Available commands:
# PHP version
case $G_DISTRO in
6) PHP_VERSION='7.4';;
*) PHP_VERSION='8.2';;
7) PHP_VERSION='8.2';;
*) PHP_VERSION='8.4';;
esac

# Available for [$software_id,$G_*] 2D array
Expand Down Expand Up @@ -8916,7 +8917,7 @@ _EOF_
*) local arch='arm';;
esac

local fallback_url="https://github.com/syncthing/syncthing/releases/download/v1.29.1/syncthing-linux-$arch-v1.29.1.tar.gz"
local fallback_url="https://github.com/syncthing/syncthing/releases/download/v1.29.2/syncthing-linux-$arch-v1.29.2.tar.gz"
Download_Install "$(curl -sSfL 'https://api.github.com/repos/syncthing/syncthing/releases/latest' | mawk -F\" "/\"browser_download_url\": .*\/syncthing-linux-$arch-[^\"\/]*\.tar\.gz\"/{print \$4}")"
G_EXEC mv syncthing-* /opt/syncthing
fi
Expand Down Expand Up @@ -11666,7 +11667,7 @@ _EOF_
*) local arch='amd64';;
esac

local fallback_url="https://github.com/rclone/rclone/releases/download/v1.68.2/rclone-v1.68.2-linux-$arch.deb"
local fallback_url="https://github.com/rclone/rclone/releases/download/v1.69.0/rclone-v1.69.0-linux-$arch.deb"
Download_Install "$(curl -sSfL 'https://api.github.com/repos/rclone/rclone/releases/latest' | mawk -F\" "/^ *\"browser_download_url\": \".*\/rclone-v[^\"\/]*-linux-$arch.deb\"$/{print \$4}")"
fi
fi
Expand Down

0 comments on commit 8be8c29

Please sign in to comment.