Browse Source

distro.tools

master
Jan-Lukas Else 3 years ago
commit
38fdade18c
5 changed files with 44 additions and 0 deletions
  1. +1
    -0
      CNAME
  2. +29
    -0
      README.md
  3. +1
    -0
      _config.yml
  4. +4
    -0
      install/telegram
  5. +9
    -0
      ubuntu/update

+ 1
- 0
CNAME View File

@ -0,0 +1 @@
distro.tools

+ 29
- 0
README.md View File

@ -0,0 +1,29 @@
# distro.tools
This is a collection of shell scripts for easy management of your Linux install. The goal is to provide scripts for every possible use case from updating your system to configuring some special things. Feel free to provide your scripts.
## How to use it?
It's simple. Just type this into your terminal and replace `script` with the script to execute:
curl -L distro.tools/script | sh
when the script doesn't need sudo, or
sudo sh -c 'curl -L distro.tools/script | sh'
when the script needs sudo privileges.
## How to contribute
Just clone this repo and create a pull request. If I ([@jlelse](https://github.com/jlelse)) like it, I will accept it.
## Overview of scripts
### All
`install/telegram` (sudo) - Install Telegram *(requires wget, tar, /opt and /usr/local/bin)*
### Ubuntu
`ubuntu/update` (sudo) - Update your Ubuntu system including Snaps and Flatpaks

+ 1
- 0
_config.yml View File

@ -0,0 +1 @@
theme: jekyll-theme-cayman

+ 4
- 0
install/telegram View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
wget -O- https://telegram.org/dl/desktop/linux | tar xJ -C /opt/ && ln -fs /opt/Telegram/Telegram /usr/local/bin/telegram-desktop
echo 'You can now type telegram-desktop to start Telegram'

+ 9
- 0
ubuntu/update View File

@ -0,0 +1,9 @@
#!/usr/bin/env sh
apt update && apt dist-upgrade -y
if [ -x "$(command -v snap)" ]; then
snap refresh
fi
if [ -x "$(command -v flatpak)" ]; then
flatpak update -y
fi

Loading…
Cancel
Save