mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-15 05:43:55 +02:00
Update install.sh
This commit is contained in:
parent
8347533679
commit
36168823de
1 changed files with 12 additions and 6 deletions
|
@ -452,9 +452,15 @@ fi
|
|||
cd /var/www/cp
|
||||
composer install
|
||||
|
||||
if [[ "$OS" == "Ubuntu" && "$VER" == "24.04" ]]; then
|
||||
echo "Importing database."
|
||||
mariadb -u "$DB_USER" -p"$DB_PASSWORD" < /opt/registry/database/registry.mariadb.sql
|
||||
echo "SQL import completed."
|
||||
else
|
||||
echo "Importing database."
|
||||
mysql -u "$DB_USER" -p"$DB_PASSWORD" < /opt/registry/database/registry.mariadb.sql
|
||||
echo "SQL import completed."
|
||||
fi
|
||||
|
||||
echo "Installing Web WHOIS."
|
||||
mkdir -p /var/www/whois
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue