mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-23 19:10:30 +02:00
Added update script from 1.0.3 and also fixed issue with installer
This commit is contained in:
parent
df76bd3665
commit
13eefff926
3 changed files with 131 additions and 12 deletions
|
@ -138,7 +138,7 @@ if [[ ("$OS" == "Ubuntu" && "$VER" == "22.04") || ("$OS" == "Ubuntu" && "$VER" =
|
|||
systemctl restart php8.2-fpm
|
||||
fi
|
||||
echo "PHP configuration update complete!"
|
||||
|
||||
|
||||
#if [ "$DB_TYPE" == "MariaDB" ]; then
|
||||
echo "Setting up MariaDB..."
|
||||
curl -o /etc/apt/keyrings/mariadb-keyring.pgp 'https://mariadb.org/mariadb_release_signing_key.pgp'
|
||||
|
@ -156,18 +156,11 @@ if [[ ("$OS" == "Ubuntu" && "$VER" == "22.04") || ("$OS" == "Ubuntu" && "$VER" =
|
|||
Components: main main/debug
|
||||
Signed-By: /etc/apt/keyrings/mariadb-keyring.pgp
|
||||
EOF
|
||||
elif [[ "$OS" == "Ubuntu" && "$VER" == "24.04" ]]; then
|
||||
cat > /etc/apt/sources.list.d/mariadb.sources << EOF
|
||||
elif [[ "$OS" == "Ubuntu" && "$VER" == "24.04" ]]; then
|
||||
cat > /etc/apt/sources.list.d/mariadb.list << EOF
|
||||
# MariaDB 11.4 repository list - created 2024-07-23 18:24 UTC
|
||||
# https://mariadb.org/download/
|
||||
X-Repolib-Name: MariaDB
|
||||
Types: deb
|
||||
# deb.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
|
||||
# URIs: https://deb.mariadb.org/11.4/ubuntu
|
||||
URIs: https://fastmirror.pp.ua/mariadb/repo/11.4/ubuntu
|
||||
Suites: noble
|
||||
Components: main main/debug
|
||||
Signed-By: /etc/apt/keyrings/mariadb-keyring.pgp
|
||||
deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://fastmirror.pp.ua/mariadb/repo/11.4/ubuntu noble main
|
||||
EOF
|
||||
else
|
||||
cat > /etc/apt/sources.list.d/mariadb.sources << EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue