mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-24 03:01:01 +01:00
etcupdate: fix !
This commit is contained in:
@@ -44,7 +44,7 @@ EOF
|
||||
bootstrap_etc_release() {
|
||||
local _release="${1}"
|
||||
local _current="$(sysrc -f /usr/local/etc/bastille/bastille.conf bastille_bootstrap_archives | awk -F': ' '{print $2}')"
|
||||
if ! ls -A "${bastille_releasesdir}/${_release}/usr/src" 2>/dev/null; then
|
||||
if ls -A "${bastille_releasesdir}/${_release}/usr/src" 2>/dev/null; then
|
||||
sysrc -f /usr/local/etc/bastille/bastille.conf bastille_bootstrap_archives=src
|
||||
if ! bastille bootstrap "${_release}"; then
|
||||
error_notify "Failed to bootstrap etcupdate \"${_release}\""
|
||||
|
||||
Reference in New Issue
Block a user