Browse Source

Update paperless-ngx-install.sh

tweak
tteckster 1 year ago
parent
commit
29c764031a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/paperless-ngx-install.sh

+ 1 - 1
install/paperless-ngx-install.sh

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