From b14d06b6f4a88751a2781aba4d955d461a8a05de Mon Sep 17 00:00:00 2001 From: Lukas Neubert <40118727+Serkonda@users.noreply.github.com> Date: Sat, 30 May 2020 22:14:50 +0200 Subject: [PATCH] readme: add language property to code blocks (#287) --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d4956ea378d..a1a97048300 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ the installers for Debian and RPM-based distributions. To setup the package repository, run these commands: -``` +```sh $ wget -qO - https://packagecloud.io/shiftkey/desktop/gpgkey | sudo apt-key add - $ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list' $ sudo apt-get update @@ -41,7 +41,7 @@ $ sudo apt-get update Then install GitHub Desktop: -``` +```sh $ sudo apt install github-desktop ``` @@ -49,16 +49,17 @@ $ sudo apt install github-desktop To setup the package repository, run these commands: -``` +```sh $ sudo rpm --import https://packagecloud.io/shiftkey/desktop/gpgkey $ sudo sh -c 'echo -e "[shiftkey]\nname=GitHub Desktop\nbaseurl=https://packagecloud.io/shiftkey/desktop/el/7/\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://packagecloud.io/shiftkey/desktop/gpgkey" > /etc/yum.repos.d/shiftkey-desktop.repo' ``` Then install GitHub Desktop: -``` +```sh # if yum is your package manager $ sudo yum install github-desktop + # if dnf is your package manager $ sudo dnf install github-desktop ```