From cf2a9ebc0d4c48c57d32d7daca7edb98d15cd450 Mon Sep 17 00:00:00 2001 From: cyteen Date: Sun, 26 Apr 2020 09:09:21 +0000 Subject: [PATCH] Update riotIM scripts. --- 020_riotIM-desktop_example.sh | 16 ++++++++++++++++ 020_riotIM-nightly.sh | 11 +++++++++++ 020_riot.sh => 020_riotIM-web.sh | 2 +- 020_vim.sh | 1 + test_powerline.sh | 2 +- 5 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 020_riotIM-desktop_example.sh create mode 100755 020_riotIM-nightly.sh rename 020_riot.sh => 020_riotIM-web.sh (84%) diff --git a/020_riotIM-desktop_example.sh b/020_riotIM-desktop_example.sh new file mode 100644 index 0000000..ba278ce --- /dev/null +++ b/020_riotIM-desktop_example.sh @@ -0,0 +1,16 @@ +## Debian 9 +sudo apt install -y lsb-release wget apt-transport-https +sudo wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ $(lsb_release -cs) main" | + sudo tee /etc/apt/sources.list.d/riot-im.list +sudo apt update +sudo apt install riot-web + +## Debian 8 +#sudo apt install -y lsb-release wget apt-transport-https +#sudo wget -O /etc/apt/trusted.gpg.d/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg +#echo "deb [signed-by=75741890063E5E9A46135D01C2850B265AC085BD] https://packages.riot.im/debian/ $(lsb_release -cs) main" | +# sudo tee /etc/apt/sources.list.d/riot-im.list +#sudo apt update +#sudo apt install riot-web + diff --git a/020_riotIM-nightly.sh b/020_riotIM-nightly.sh new file mode 100755 index 0000000..21bf62f --- /dev/null +++ b/020_riotIM-nightly.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +sudo sh -c "echo 'deb https://riot.im/packages/debian/ buster main' > /etc/apt/sources.list-available/matrix-riot-im.list" + +sudo ln -s /etc/apt/sources.list-available/matrix-riot-im.list /etc/apt/sources.list.d/matrix-riot-im.list + +# Add the public key: +curl -L https://riot.im/packages/debian/repo-key.asc | sudo apt-key add - + +sudo apt-get update && apt-get -y install riot-nightly + + diff --git a/020_riot.sh b/020_riotIM-web.sh similarity index 84% rename from 020_riot.sh rename to 020_riotIM-web.sh index 0229c22..aa438f9 100755 --- a/020_riot.sh +++ b/020_riotIM-web.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -sudo sh -c "echo 'deb https://riot.im/packages/debian/ artful main' > /etc/apt/sources.list-available/matrix-riot-im.list" +sudo sh -c "echo 'deb https://riot.im/packages/debian/ buster main' > /etc/apt/sources.list-available/matrix-riot-im.list" sudo ln -s /etc/apt/sources.list-available/matrix-riot-im.list /etc/apt/sources.list.d/matrix-riot-im.list diff --git a/020_vim.sh b/020_vim.sh index 8b26ba7..5a19c0a 100755 --- a/020_vim.sh +++ b/020_vim.sh @@ -322,6 +322,7 @@ silent! call togglebg#map("") " Airline customizations let g:airline#extensions#tabline#enabled = 1 +let g:airline_powerline_fonts = 1 diff --git a/test_powerline.sh b/test_powerline.sh index 7a45885..53d865e 100755 --- a/test_powerline.sh +++ b/test_powerline.sh @@ -1 +1 @@ -echo " ±  ➦ ✘ ⚡ ⚙" +echo " ±  ➦ ✘ ⚡ ⚙ "