Przeglądaj źródła

Fix Debian install instructions

Philipp Heckel 3 lat temu
rodzic
commit
6c3fe686be
2 zmienionych plików z 4 dodań i 2 usunięć
  1. 3 2
      docs/install.md
  2. 1 0
      docs/releases.md

+ 3 - 2
docs/install.md

@@ -65,9 +65,10 @@ Installation via Debian repository:
 
 
 === "x86_64/amd64"
 === "x86_64/amd64"
     ```bash
     ```bash
-    curl -sSL https://archive.heckel.io/apt/pubkey.txt | sudo apt-key add -
+    sudo mkdir -p /etc/apt/keyrings
+    curl -fsSL https://archive.heckel.io/apt/pubkey.txt | sudo gpg --dearmor -o /etc/apt/keyrings/heckel.io.gpg
     sudo apt install apt-transport-https
     sudo apt install apt-transport-https
-    sudo sh -c "echo 'deb [arch=amd64] https://archive.heckel.io/apt debian main' \
+    sudo sh -c "echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/heckel.io.gpg] https://archive.heckel.io/apt debian main' \
         > /etc/apt/sources.list.d/archive.heckel.io.list"  
         > /etc/apt/sources.list.d/archive.heckel.io.list"  
     sudo apt update
     sudo apt update
     sudo apt install ntfy
     sudo apt install ntfy

+ 1 - 0
docs/releases.md

@@ -20,6 +20,7 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release
 * Updated developer docs, bump nodejs and go version ([#414](https://github.com/binwiederhier/ntfy/issues/414), thanks to [@YJSoft](https://github.com/YJSoft) for reporting)
 * Updated developer docs, bump nodejs and go version ([#414](https://github.com/binwiederhier/ntfy/issues/414), thanks to [@YJSoft](https://github.com/YJSoft) for reporting)
 * Officially document `?auth=..` query parameter ([#433](https://github.com/binwiederhier/ntfy/pull/433), thanks to [@wunter8](https://github.com/wunter8))
 * Officially document `?auth=..` query parameter ([#433](https://github.com/binwiederhier/ntfy/pull/433), thanks to [@wunter8](https://github.com/wunter8))
 * Added Rundeck example ([#427](https://github.com/binwiederhier/ntfy/pull/427), thanks to [@demogorgonz](https://github.com/demogorgonz))
 * Added Rundeck example ([#427](https://github.com/binwiederhier/ntfy/pull/427), thanks to [@demogorgonz](https://github.com/demogorgonz))
+* Fix Debian installation instructions ([#237](https://github.com/binwiederhier/ntfy/issues/237), thanks to [@Joeharrison94](https://github.com/Joeharrison94) for reporting)
 
 
 **Additional translations:**
 **Additional translations:**