代码拉取完成,页面将自动刷新
# commands to run after installing all files and packages
# add any needed extra groups
for i in #cbnetwork
do
if grep -q "^${i}:" /etc/group
then
msg "group $i already exists"
else
msg "adding group $i"
sudo addgroup $i || errmsg "failed to add group: $i"
fi
done
# add user to necessary extra groups
# NB You should also check sysfiles2/etc/adduser.conf for default groups to add new users to
for i in netdev systemd-journal #scanner #bluetooth #fuse #cbnetwork
do
sudo adduser $user $i || errmsg "failed to add user: $user to group: $i"
done
# make sure gksu runs in sudo mode
#sudo update-alternatives --set libgksu-gconf-defaults /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo || errmsg "failed to edit alternative for libgksu-gconf-defaults"
#sudo update-gconf-defaults || errmsg "failed to update gconf defaults"
# set cursor theme to pre-empt Adwaita
#sudo update-alternatives --set x-cursor-theme /usr/share/icons/DMZ-White/cursor.theme || errmsg "failed to edit alternative for x-cursor-theme"
# dmz-cursor-theme may have been installed after bunsen-configs
# so re-run the cursor theme setting in bunsen-configs' postinst script.
DEFAULT_CURSOR_THEME='/usr/share/icons/DMZ-White/cursor.theme'
if update-alternatives --list x-cursor-theme 2>/dev/null | grep -q "$DEFAULT_CURSOR_THEME" || errmsg "failed to edit alternative for x-cursor-theme"
then
sudo update-alternatives --set x-cursor-theme "$DEFAULT_CURSOR_THEME"
fi
# Add install date to /etc/bunsen/bunsen_install
sudo echo "Install date: $(date --utc +%FT%T)" >> /etc/bunsen/bunsen_install
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。