Skip to content

Commit

Permalink
Merge branch 'support-bookworm-jammy' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Jan 8, 2024
2 parents ba802cf + 6d133de commit 3658be0
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
run: |
sudo apt-get -y update
sudo apt-get -y install exim4-daemon-light
sudo apt-get -y install `cut -d " " -f 1 config/packages.ubuntu-focal | egrep -v "(^#|wkhtml|bundler|^ruby|^rake)"`
sudo apt-get -y install `cut -d " " -f 1 config/packages | egrep -v "(^#|wkhtml|bundler|^ruby|^rake)"`
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion commonlib
Submodule commonlib updated from 614975 to caadee
2 changes: 1 addition & 1 deletion config/packages.generic
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ links
lockfile-progs
memcached
mutt
pdftk
pdftk-java
poppler-utils
postgresql
postgresql-client
Expand Down
37 changes: 0 additions & 37 deletions config/packages.ubuntu-focal

This file was deleted.

11 changes: 0 additions & 11 deletions config/packages_development

This file was deleted.

2 changes: 2 additions & 0 deletions doc/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Highlighted Features

* Add support for Debian 12 "Bookworm" (Graeme Porteous)
* Add support for Ubuntu 22.04 LTS "Jammy Jellyfish" (Graeme Porteous)
* Update alert daemon from init script to systemd (Sam Pearson)
* Update incoming mail poller daemon from init script to systemd (Sam Pearson)
* Update notification daemon from init script to systemd (Sam Pearson)
Expand Down
2 changes: 2 additions & 0 deletions lib/tasks/submodules.rake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ namespace :submodules do

desc "Check the status of the project's submodules"
task check: :environment do
next unless Rails.env.production?

commit_info = `git submodule status commonlib`
case commit_info[0,1]
when '+'
Expand Down
8 changes: 7 additions & 1 deletion script/site-specific-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@ then
EOF
fi

/etc/init.d/rsyslog restart
if { [ "$DISTRIBUTION" = "ubuntu" ] && [ "$DISTVERSION" = "jammy" ]; } ||
{ [ "$DISTRIBUTION" = "debian" ] && [ "$DISTVERSION" = "bookworm" ]; }
then
systemctl restart rsyslog.service
else
/etc/init.d/rsyslog restart
fi

newaliases
postmap /etc/postfix/transports
Expand Down

0 comments on commit 3658be0

Please sign in to comment.