From 1b9409742cb7b632ad7facbd849529b3b717912f Mon Sep 17 00:00:00 2001 From: velvettear Date: Wed, 21 Sep 2022 14:06:22 +0200 Subject: [PATCH] updated readme and install script, added qr code --- README.md | 7 +++++-- install.sh | 10 ++++++---- qrcode.png | Bin 0 -> 1122 bytes 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 qrcode.png diff --git a/README.md b/README.md index 02fa1f9..1a52584 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/install.sh b/install.sh index 068ca06..e77e68b 100755 --- a/install.sh +++ b/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" diff --git a/qrcode.png b/qrcode.png new file mode 100644 index 0000000000000000000000000000000000000000..62869ca1bfe15d65133683ab663ecf8f012e8419 GIT binary patch literal 1122 zcmV-o1fBbdP)zXhb6#@oNZ+ z*Ys=N-?z_U@o5{6{ff^~9ua@9X`k4BZ@Ir6)x zW{v}B{y6gfw-G?x&%=s%9?qBt#4cZr_>Qm%#6+ORB5Z8*#73N`h0`s#p(Ej$ToPXS zuQ;!WU^PJc|IhpH`cVh4uUCXEg$L^(X=#KMojVHheQ|O!NCw z4eBC-+H(s`NG?VeMuejI$#A6+Q339a;9MINW6Bn7hgNc)&sN~{M#T|w#%YqZ$iabe%yY#Nq!Mg;hGvP=U#hcOa4Z%_u>0{WnAtc& zOidpo!)*iu)HEDh@;f!(GCAfOk1|mg0dfIl%T6n4XK+o@s;gVo5#y+X~LkZlbKHslmxT6UHU>%rSeRQhqXhOV!Z07*qoM6N<$f_;Ju0{{R3 literal 0 HcmV?d00001