2 # Copyright (C) 2019 Ian Kelling
3 # SPDX-License-Identifier: AGPL-3.0-or-later
5 set -e; .
/usr
/local
/lib
/bash-bear
; set +e
8 m
() { printf "$pre %s\n" "$*"; "$@"; }
9 e
() { printf "$pre %s\n" "$*"; }
10 err
() { echo "[$(date +'%Y-%m-%d %H:%M:%S%z')]: $pre: $*" >&2; }
12 if [[ $EUID == 0 ]]; then
19 /a
/bin
/buildscripts
/rust
22 for pkg
in xorg wayland
; do
23 if dpkg
-s -- $pkg |
& grep -Fx "Status: install ok installed" &> /dev
/null
; then
30 /a
/bin
/buildscripts
/tor-browser
31 /a
/bin
/buildscripts
/misc
36 # source /a/bin/distro-setup/path-add-function
37 # export GOPATH=$HOME/go
38 # path-add $GOPATH/bin
39 # path-add /usr/local/go/bin
40 # l /a/bin/buildscripts/go
41 # l go get -u mvdan.cc/fdroidcl