Commit 4b5dbb86 authored by Paul Cammish's avatar Paul Cammish
Browse files

Merge branch 'kelduum-master-patch-24635' into 'master'

Only enable backports on Debian Buster

See merge request sympl/install!1
parents 6fc84a3e 7e1ccb5f
......@@ -42,7 +42,7 @@ fi
echo "-----------------------------------------------------------------------"
echo " Sympl Installer v0.8"
echo " Sympl Installer v0.9"
echo "-----------------------------------------------------------------------"
echo "This script will help you install Sympl on a Debian Linux or Raspberry"
......@@ -75,7 +75,9 @@ if [ "x$(which debconf-set-selections)" = "x" ]; then
if [ "$(lsb_release -c -s)" == "buster" ]; then
# If we're running Debian Buster, then add the backports repo so we can get to phpMyAdmin there
# We don't need to do this with Raspbian/Raspberry Pi OS as it's in the normal repo there
if [ "$(lsb_release -i -s)" == "Debian" ] && [ "$(lsb_release -c -s)" == "buster" ]; then
if [ $( cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list | sed 's|#.*||' | grep -c '^deb .* buster-backports' ) -lt 1 ]; then
echo -n 'Enabling Debian buster-backports repo for phpmyadmin...'
echo "deb buster-backports main" > /etc/apt/sources.list.d/enable_backports.list
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment