فهرست منبع

Update paperless-ngx-install.sh

fix unbound variable
tteckster 1 سال پیش
والد
کامیت
95a762c38f
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      install/paperless-ngx-install.sh

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

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