#!/usr/bin/env bash version=11 use_tmux="?" post_script= pre_script= pacman_cache_dir="/var/cache/pacman/pkg" store_pacman_cache=1 exec_binary= exec_arguments=() do_report=0 stdout_report=0 report_dest= ignore_fails=0 ignore_user_wish=0 mount_dir="/mnt" all_mount_opts="rw" pacman_packages=() install_on_sync=0 copy_resolvconf=1 sync_packages=() update_systems=1 high_repo_priority=0 remote_systems=() realpath_TMPDIR= temporary= temporary_location= remove_temporary=1 tmux_socket_name="skuf_tmux$$" umask 0077 out() { echo "$@"; } error() { out "==> ERROR:" "$@" >&2; } warning() { out "==> WARNING:" "$@" >&2; } msg() { out "==>" "$@"; } die() { error "$@"; exit 1; } usage() { echo "update_remote_systems.sh (SKUF) v${version} usage: ${0##*/} [OPTIONS] [REMOTE SYSTEMS]::[MOUNT OPTS] Options: -a