Added Debian 11 as supported os Added deb11 to all places were deb10 was in a if statement Temporarily replaced MySQL with MariaDB, since the MySQL repo is not yet avalible
13 lines
456 B
Bash
13 lines
456 B
Bash
#!/bin/bash
|
|
|
|
if [ "$shortdist" = "ubu1804" ] || [ "$shortdist" = "ubu2004" ] || [ "$shortdist" = "deb10" ] || [ "$shortdist" = "deb11" ] ; then
|
|
# Debian/Ubunbtu redis variables
|
|
redisService=redis-server
|
|
|
|
elif [ "$shortdist" = "el8" ]; then
|
|
# Centos redis variable
|
|
redisService=redis
|
|
fi
|
|
|
|
|
|
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=redis osrel=$shortdist bash > $OUTPUT 2>&1 |