mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Build: Always install MariaDB distribution packages #4631
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
0e8e1b7ea0
commit
0a348edba2
1 changed files with 1 additions and 13 deletions
14
scripts/dist/install-mariadb.sh
vendored
14
scripts/dist/install-mariadb.sh
vendored
|
|
@ -24,19 +24,7 @@ fi
|
|||
|
||||
DESTARCH=${BUILD_ARCH:-$SYSTEM_ARCH}
|
||||
|
||||
if [[ $VERSION_CODENAME == "oracular" || $DESTARCH == "armv7l" || $DESTARCH == "arm" ]]; then
|
||||
echo "Installing MariaDB distribution packages for ${DESTARCH^^}..."
|
||||
else
|
||||
MARIADB_VERSION="11.rolling"
|
||||
MARIADB_URL="https://downloads.mariadb.com/MariaDB/mariadb_repo_setup"
|
||||
|
||||
if [ ! -f "/etc/apt/sources.list.d/mariadb.list" ]; then
|
||||
echo "Installing MariaDB $MARIADB_VERSION package sources for ${DESTARCH^^}..."
|
||||
curl -Ls "$MARIADB_URL" | sudo bash -s -- --mariadb-server-version="mariadb-$MARIADB_VERSION"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Installing \"$PACKAGES\"..."
|
||||
echo "Installing \"$PACKAGES\" distribution packages for ${DESTARCH^^}..."
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get -qq install $PACKAGES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue