代码拉取完成,页面将自动刷新
# This file is sourced by the install script just before installing
# the main packages.
# You can add code to install APT GPG keys here.
#
# LOGGING:
# bigmsg "..." will output a bold message to the terminal and logfile.
# End your command lines with:
# > >( tee -a "$logfile" ) 2>&1 || giveup "Some message..." 1
# so that output will be logged, and success checked.
#BUNSEN_APT_FINGERPRINT='3172 4784 0522 7490 BBB7 43E6 A067 3F72 FE62 D9C5'
bigmsg "Installing BunsenLabs APT key."
#wget http://pkg.bunsenlabs.org/BunsenLabs-RELEASE.asc > >( tee -a "$logfile" ) 2>&1 || giveup "Failed to download BunsenLabs APT key." 1
#KEY_FINGERPRINT=$(gpg --with-fingerprint BunsenLabs-RELEASE.asc | sed -rn 's/^\s*Key fingerprint = (([0-9A-Z]{4}\s*)+).*$/\1/p')
#[[ $KEY_FINGERPRINT = $BUNSEN_APT_FINGERPRINT ]] || giveup "Downloaded Apt key fingerprint is not correct" 1
# An apt-key file is now packaged with this script.
#sudo apt-key add BunsenLabs-RELEASE.asc > >( tee -a "$logfile" ) 2>&1 || giveup "Failed to install helium-dev APT key." 1
# 'apt-key add' deprecated, see 'man apt-key'
# Key is now shipped in-place.
apt_keydir='/etc/apt/trusted.gpg.d'
if [[ -f "${apt_keydir}/BunsenLabs-RELEASE.asc" ]]
then
msg "BunsenLabs APT key found."
else
giveup "BunsenLabs APT key not found in $apt_keydir." 1
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。