소스 검색

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