Browse Source

Update paperless-ngx-install.sh

tweak
tteckster 1 năm trước cách đây
mục cha
commit
29c764031a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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