1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-31 06:18:00 +00:00

create termux addon

This commit is contained in:
Nebel 2022-06-15 00:15:50 +09:00
parent 04f1d04927
commit 37ceade379
3 changed files with 25 additions and 0 deletions

View file

@ -48,3 +48,10 @@ function install_gsettings() {
DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$uid/bus" \ DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$uid/bus" \
dconf load "$gsettings_dir" dconf load "$gsettings_dir"
} }
function install_pkg_packages() {
local packages
. packages.bash
pkg upgrade -y
pkg install -y "${packages[@]}"
}

6
termux/install Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
set -euo pipefail
cd -- "$(dirname -- "$0")"
. ../mod.bash
install_pkg_packages

12
termux/packages.bash Normal file
View file

@ -0,0 +1,12 @@
packages=(
dnsutils
gh
git
iproute2
jq
mdbook
nodejs-lts
openssh
rclone
sqlite
)