Skip to content

Commit

Permalink
UbuntuCLI: Postfix - only install if required (as a dependence)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay committed Dec 25, 2024
1 parent 50186f4 commit 4120899
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UbuntuCLI/packages_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ touch ~/.bashrc # some install scripts want to append stuff here
# Preconfigure Postfix to select "Local only" and set the address to localhost
# TODO find out which packages have postfix as a dependency ant maybe try to remove
# the dependency in the future?
# TODO check - only adding the answers to debconf so that the installation is
# not interrupted if a package has postfix as its dependence.
echo "postfix postfix/mailname string localhost" | sudo debconf-set-selections
echo "postfix postfix/main_mailer_type select Local only" | sudo debconf-set-selections
sudo apt-get install -y postfix

# sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test # repository with latest GCC
LATEST_GCC_VER_IN_APT=$(apt-cache search --names-only '^gcc-[0-9][0-9]$' \
Expand Down

0 comments on commit 4120899

Please sign in to comment.