You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
438 B
15 lines
438 B
#!/bin/sh -eux
|
|
|
|
# Unset these as if they're empty
|
|
[ -z "$no_proxy" ] && unset no_proxy
|
|
[ -z "$http_proxy" ] && unset http_proxy
|
|
[ -z "$https_proxy" ] && unset https_proxy
|
|
|
|
hbsd_update="/usr/sbin/hbsd-update";
|
|
|
|
# Update HardenedBSD
|
|
# NOTE: the install action fails if there are no updates so || true it
|
|
env PAGER=/bin/cat $hbsd_update fetch || true;
|
|
env PAGER=/bin/cat $hbsd_update install || true;
|
|
|
|
env ASSUME_ALWAYS_YES=true pkg update;
|
|
|