support for topgrade in termux
This commit is contained in:
parent
9b36634d7c
commit
2e33a23edc
1 changed files with 12 additions and 1 deletions
13
termux.sh
13
termux.sh
|
@ -23,7 +23,7 @@ function main {
|
|||
|
||||
# === Packages ==
|
||||
eval "apt-get install ${apt_arg} \
|
||||
fish eza tealdeer bat wget"
|
||||
fish eza tealdeer bat wget topgrade"
|
||||
|
||||
|
||||
# === Fish ==
|
||||
|
@ -67,6 +67,17 @@ function main {
|
|||
|
||||
# === Git ==
|
||||
wget -q "${repo}"/dotfiles/.gitconfig -O "$HOME"/.gitconfig
|
||||
|
||||
|
||||
# === Topgrade ==
|
||||
wget -q "${repo}"/.config/topgrade/topgrade.toml -O "$HOME"/.config/topgrade.toml
|
||||
|
||||
|
||||
# === Fix ==
|
||||
# Since Termux isn't used a lot, I don't plan to make it a real distro
|
||||
# supported by thoses scripts, so I give the bare minimum support to it
|
||||
# Fix topgrade
|
||||
sed -i "/topgrade/d" "$HOME"/.config/fish/conf.d/abbr.fish
|
||||
}
|
||||
|
||||
if type termux-info &> /dev/null;
|
||||
|
|
Loading…
Reference in a new issue