Skip to content

Commit

Permalink
Update interactive_part.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay authored Dec 24, 2024
1 parent f529027 commit 1766c74
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Ubuntu_22.04/interactive_part.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@
if [ "$1" == "--noninteractive" ]; then
readonly NONINTERACTIVE='true'
echo "Skipping interactive commands as $1 parameter was provided"
# TODO try configuring postfix noninteractively
# TODO format the code nicer...
sudo debconf-set-selections <<EOF
postfix postfix/main_mailer_type select No configuration
EOF
sudo apt-get install -y postfix
elif [ "$1" == "" ]; then
# GNOME extensions
# TODO configure postfix in advance from command line
# TODO what is this app and why does it automatically install itself on Ubuntu
# server/desktop, but not in wsl? It needs user interaction hence adding it here.
sudo apt-get install -y postfix ttf-mscorefonts-installer

fi

. ../CommonInitScripts/gnome_install_extensions.sh

0 comments on commit 1766c74

Please sign in to comment.