updated readme and install script, added qr code
This commit is contained in:
parent
69512ba3c9
commit
1b9409742c
3 changed files with 11 additions and 6 deletions
|
@ -2,5 +2,8 @@
|
|||
|
||||
installation script for termux (android)
|
||||
|
||||
**one liner for first time setup:**
|
||||
`curl "https://git.velvettear.de/velvettear/termux-install/raw/branch/master/install.sh | bash`
|
||||
**one liner:**
|
||||
`bash -c "$(curl -sSL https://git.velvettear.de/velvettear/termux-install/raw/branch/master/install.sh)"`
|
||||
|
||||
**qr code:**
|
||||
![qrcode](qrcode.png)
|
||||
|
|
10
install.sh
10
install.sh
|
@ -9,18 +9,19 @@ set -e
|
|||
printf "> upgrading installed packages...\n"
|
||||
pkg upgrade
|
||||
|
||||
printf "> changing repositories...\n"
|
||||
termux-change-repo
|
||||
|
||||
printf "> installing additional packages...\n"
|
||||
pkg install wget curl tsu htop neovim git zsh openssh
|
||||
|
||||
printf "> cleaning package cache...\n"
|
||||
pkg autoclean
|
||||
pkg clean
|
||||
|
||||
printf "> changing shell to 'zsh'...\n"
|
||||
chsh -s "zsh"
|
||||
|
||||
printf "> changing repositories...\n"
|
||||
termux-change-repo
|
||||
|
||||
printf "> configuring git...\n"
|
||||
git config --global user.name "velvettear"
|
||||
git config --global user.email "daniel.sommer@velvettear.de"
|
||||
|
@ -28,7 +29,8 @@ git config --global credential.helper store
|
|||
|
||||
printf "> cloning git repository...\n"
|
||||
git clone "https://git.velvettear.de/velvettear/termux.git" "$HOME/tmp"
|
||||
find "$HOME/tmp" -exec mv '{}' "$HOME"
|
||||
find "$HOME/tmp" -type d -not -wholename "$HOME/tmp" -exec mv -f '{}' "$HOME" \;
|
||||
find "$HOME/tmp" -type d -not -wholename "$HOME/tmp" -exec mv -f '{}' "$HOME" \;
|
||||
rm -rf "$HOME/tmp"
|
||||
|
||||
printf "> initializing submodule(s)...\n"
|
||||
|
|
BIN
qrcode.png
Normal file
BIN
qrcode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in a new issue