diff --git a/mod.bash b/mod.bash index 1505e74..618b9b5 100644 --- a/mod.bash +++ b/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[@]}" +} diff --git a/termux/install b/termux/install new file mode 100755 index 0000000..8176a1c --- /dev/null +++ b/termux/install @@ -0,0 +1,6 @@ +#!/bin/bash +set -euo pipefail +cd -- "$(dirname -- "$0")" +. ../mod.bash +install_pkg_packages + diff --git a/termux/packages.bash b/termux/packages.bash new file mode 100644 index 0000000..0032e5f --- /dev/null +++ b/termux/packages.bash @@ -0,0 +1,12 @@ +packages=( +dnsutils +gh +git +iproute2 +jq +mdbook +nodejs-lts +openssh +rclone +sqlite +)