Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions cbpp-welcome/data/usr/bin/cbpp-welcome
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
# Post installation script
TEXTDOMAIN=cbpp-welcome


CB_WELCOME_LIBDIR='/usr/lib/lib-cbpp-welcome'
STEPS_BASIC=('apt-update' 'apt-dist-upgrade' 'install-printer-packages' 'install-java-packages' 'install-libreoffice' 'devel')
STEPS_BASIC=('apt-update' 'apt-dist-upgrade' 'install-bluetooth' 'install-printer-packages' 'install-java-packages' 'install-libreoffice' 'devel')
STEPS_DEVEL=('devel-install-version-control-tools' 'devel-install-ssh-server' 'devel-install-lamp-stack' 'devel-install-packaging-tools')

createFlag() {
Expand Down Expand Up @@ -55,8 +54,15 @@ installPage() {

if setupPage "$title" "$text" "$prompt"; then
sudo apt-get install -y "${@:3}"

if ["${a:3}" = "blueman"]; then
# Autostart the Blueman systray applet
printf "%s\n" "# Start blueman-applet for systray" "blueman-applet &" >> $HOME/.config/openbox/autostart
fi

return 0
fi

return 1
}

Expand Down
3 changes: 3 additions & 0 deletions cbpp-welcome/data/usr/lib/lib-cbpp-welcome/install-bluetooth
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
installPage $"Bluetooth Support" \
$"By default, CrunchBangPlusPlus does not come with Bluetooth support. Would you like to install the Bluetooth drivers and their user interface now?" \
'blueman'