Update paperless-ngx-install.sh

fix unbound variable
This commit is contained in:
tteckster 2023-09-11 14:14:21 -04:00 committed by GitHub
parent 51dc62aa74
commit 95a762c38f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
$STD apt install -y adminer $STD apt install -y adminer
$STD a2enconf adminer $STD a2enconf adminer
systemctl reload apache2 systemctl reload apache2
IP=$(hostname -I)
echo "" >>~/paperless.creds echo "" >>~/paperless.creds
echo "Adminer Interface" >>~/paperless.creds echo "Adminer Interface" >>~/paperless.creds
echo $IP/adminer/ >>~/paperless.creds echo $IP/adminer/ >>~/paperless.creds