1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-18 16:07:59 +00:00
dotfiles/termux/install

19 lines
365 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
install_termux_task tasks/logseq-sync
termux-setup-storage