mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-01-18 16:07:59 +00:00
17 lines
306 B
Bash
Executable file
17 lines
306 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
cd -- "$(dirname -- "$0")"
|
|
|
|
function install_pkg_packages() {
|
|
local packages
|
|
. packages.bash
|
|
pkg upgrade -y
|
|
pkg install -y "${packages[@]}"
|
|
}
|
|
|
|
function install_termux_task() {
|
|
mkdir -p ~/.shortcuts/tasks
|
|
install -v "$1" ~/.shortcuts/tasks/
|
|
}
|
|
|
|
install_pkg_packages
|