docs: update Arch Linux instructions (#243)

This commit is contained in:
Orhun Parmaksız
2024-04-17 20:26:35 +03:00
committed by GitHub
parent 0394a12c9f
commit aca5b37898
4 changed files with 14 additions and 7 deletions

View File

@@ -180,6 +180,12 @@ NetBSD users can install termscp from the official repositories.
pkgin install termscp
```
Arch Linux users can install termscp from the official repositories.
```sh
pacman -S termscp
```
For more information or other platforms, please visit [termscp.veeso.dev](https://termscp.veeso.dev/#get-started) to view all installation methods.
⚠️ If you're looking on how to update termscp just run termscp from CLI with: `(sudo) termscp --update` ⚠️

View File

@@ -225,7 +225,9 @@ install_on_linux() {
local msg
local sudo
local archive
if has yay; then
if has pacman; then
install_on_arch_linux pacman
elif has yay; then
install_on_arch_linux yay
elif has pakku; then
install_on_arch_linux pakku

View File

@@ -59,12 +59,11 @@
</h3>
<div class="installation">
<p>
<span translate="getStarted.arch.intro">On Arch Linux based distros, you can install termscp using an AUR
package manager such as</span>
<a href="https://github.com/Jguer/yay" target="_blank">yay</a>
<span translate="getStarted.arch.intro">On Arch Linux based distros, you can install termscp using</span>
<a href="https://wiki.archlinux.org/title/pacman" target="_blank">pacman</a>
<span translate="getStarted.arch.then">then run:</span>
</p>
<pre><span class="function">yay</span> -S <span class="string">termscp</span></pre>
<pre><span class="function">pacman</span> -S <span class="string">termscp</span></pre>
</div>
<h3>
<i class="devicon-debian-plain"></i>&nbsp;<span translate="getStarted.debian.title">Debian derived
@@ -170,4 +169,4 @@ sudo <span class="function">rpm</span> -U <span class="string">termscp.rpm</span
</div>
</section>
</section>
</body>
</body>

View File

@@ -62,7 +62,7 @@
"noBinary": "Opt for this method instead if binaries for your platform are not available or you want to select features",
"arch": {
"title": "Arch derived users",
"intro": "On Arch Linux based distros, you can install termscp using an AUR package manager such as",
"intro": "On Arch Linux based distros, you can install termscp using",
"then": "then run"
},
"debian": {