Compare commits
No commits in common. "4b783501e9efafbf2ef586649f184a48a05891ed" and "86c6bfcc7a46dba59cce2cbff3440a6fd3710b1a" have entirely different histories.
4b783501e9
...
86c6bfcc7a
12
install.sh
12
install.sh
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
pkg=(
|
pkg=(
|
||||||
7zip
|
7zip
|
||||||
@ -14,14 +15,19 @@ pkg=(
|
|||||||
python
|
python
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO https://github.com/termux/termux-tools/blob/master/scripts/termux-change-repo.in
|
pkg upgrade -y
|
||||||
yes | { pkg upgrade; pkg install "${pkg[@]}"; }
|
pkg install -y "${pkg[@]}"
|
||||||
pkg autoprune -y
|
|
||||||
|
|
||||||
# shellcheck disable=SC2174
|
# shellcheck disable=SC2174
|
||||||
mkdir -pm 0700 "$HOME/.ssh"
|
mkdir -pm 0700 "$HOME/.ssh"
|
||||||
curl https://yw5n.com/ssh >> "$HOME/.ssh/authorized_keys"
|
curl https://yw5n.com/ssh >> "$HOME/.ssh/authorized_keys"
|
||||||
|
|
||||||
|
git clone --depth 1 --bare https://git.maby.dev/ange/.dotfiles.git ~/.dotfiles
|
||||||
|
git --git-dir="$HOME/.dotfiles" --work-tree="$HOME" checkout -f
|
||||||
|
git --git-dir="$HOME/.dotfiles" --work-tree="$HOME" config status.showUntrackedFiles no
|
||||||
|
|
||||||
|
sed '/systemctl/d' "$HOME/.bash_profile"
|
||||||
|
|
||||||
cat <<EOF >> "$HOME/.bash_profile"
|
cat <<EOF >> "$HOME/.bash_profile"
|
||||||
gpg-agent
|
gpg-agent
|
||||||
#sshd
|
#sshd
|
||||||
|
Loading…
Reference in New Issue
Block a user