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:
parent
04f1d04927
commit
37ceade379
3 changed files with 25 additions and 0 deletions
7
mod.bash
7
mod.bash
|
@ -48,3 +48,10 @@ function install_gsettings() {
|
|||
DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$uid/bus" \
|
||||
dconf load "$gsettings_dir"
|
||||
}
|
||||
|
||||
function install_pkg_packages() {
|
||||
local packages
|
||||
. packages.bash
|
||||
pkg upgrade -y
|
||||
pkg install -y "${packages[@]}"
|
||||
}
|
||||
|
|
6
termux/install
Executable file
6
termux/install
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
cd -- "$(dirname -- "$0")"
|
||||
. ../mod.bash
|
||||
install_pkg_packages
|
||||
|
12
termux/packages.bash
Normal file
12
termux/packages.bash
Normal file
|
@ -0,0 +1,12 @@
|
|||
packages=(
|
||||
dnsutils
|
||||
gh
|
||||
git
|
||||
iproute2
|
||||
jq
|
||||
mdbook
|
||||
nodejs-lts
|
||||
openssh
|
||||
rclone
|
||||
sqlite
|
||||
)
|
Loading…
Add table
Reference in a new issue