iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lots: shellcheck, streaming stuff, fixes
[distro-setup]
/
distro-begin
diff --git
a/distro-begin
b/distro-begin
index 84ba7c4ac3c3f6ee68027842e254dbc2766c5cc0..61d8f8d002b56d3924c8547dade334ce76b99f59 100755
(executable)
--- a/
distro-begin
+++ b/
distro-begin
@@
-13,10
+13,17
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-# for setting up a new machine
+#
###
for setting up a new machine
# usage: $0 [-r] [HOSTNAME]
# HOSTNAME changes the machine's hostname
# usage: $0 [-r] [HOSTNAME]
# HOSTNAME changes the machine's hostname
+# Update target_down alerts in
+# /a/bin/ds/filesystem/etc/prometheus/rules/iank.yml
+#
+# Update hostnames in /b/ds/check-remote-mailqs
+
+### end new machine setup
+
# tips:
# run any sudo command first so your pass is cached
# set the scrollback to unlimited in case something goes wrong
# tips:
# run any sudo command first so your pass is cached
# set the scrollback to unlimited in case something goes wrong
@@
-52,7
+59,7
@@
interactive=true # set this to false to force set -x
if ! $interactive; then
set -x
fi
if ! $interactive; then
set -x
fi
-source /a/bin/
errhandle/er
r
+source /a/bin/
bash-bear-trap/bash-bea
r
mkdir -p ~/.local
err-cleanup() {
mkdir -p ~/.local
err-cleanup() {
@@
-474,6
+481,7
@@
if isarch; then
fi
#### update all packages
fi
#### update all packages
+# shellcheck disable=SC2119 # obvious
pup
pup
@@
-701,8
+709,7
@@
if has_monitor; then
###### install X
###### install X
- # no recommends due to this bug: https://trisquel.info/en/issues/26525
- pi --no-install-recommends i3
+ pi i3
##### install xinput
case $(distro-name) in
##### install xinput
case $(distro-name) in