fixes
This commit is contained in:
parent
5ee4d1cf35
commit
e22948fe03
@ -19,19 +19,18 @@ color
|
|||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -f /usr/sbin/globaleaks ]]; then
|
if [[ ! -f /usr/sbin/globaleaks ]]; then
|
||||||
msg_error "No ${APP} installation found!"
|
msg_error "No ${APP} installation found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Updating $APP LXC"
|
msg_info "Updating $APP LXC"
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get -y upgrade
|
$STD apt-get -y upgrade
|
||||||
|
msg_ok "Updated $APP LXC"
|
||||||
msg_ok "Updated $APP LXC"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
|
@ -13,8 +13,8 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Setup GlobaLeaks"
|
msg_info "Setup GlobaLeaks"
|
||||||
curl -sS https://deb.globaleaks.org/globaleaks.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/globaleaks.gpg
|
curl -fsSL https://deb.globaleaks.org/globaleaks.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/globaleaks.asc
|
||||||
echo "deb [signed-by=/etc/apt/trusted.gpg.d/globaleaks.gpg] http://deb.globaleaks.org bookworm main" >/etc/apt/sources.list.d/globaleaks.list
|
echo "deb [signed-by=/etc/apt/trusted.gpg.d/globaleaks.asc] http://deb.globaleaks.org bookworm main" >/etc/apt/sources.list.d/globaleaks.list
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get -y install globaleaks
|
$STD apt-get -y install globaleaks
|
||||||
msg_ok "Setup GlobaLeaks"
|
msg_ok "Setup GlobaLeaks"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user