Projects
Kolab:16
guam
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 39
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +guam (0.9.7-2) unstable; urgency=medium + + * Updated debian/postinst script + + -- Daniel Hoffend <dh@dotlan.net> Wed, 22 Apr 2020 00:46:22 +0200 + guam (0.9.7-1) unstable; urgency=medium * Release of version 0.9.7
View file
debian.tar.gz/postinst
Changed
@@ -7,9 +7,28 @@ openssl dhparam -out /etc/guam/dh_2048.pem -2 2048 >/dev/null 2>&1 fi - if [ -L "/etc/systemd/system/guam.service" ]; then - systemctl unmask guam || : + # This will only remove masks created by d-s-h on package removal. + deb-systemd-helper unmask 'guam.service' >/dev/null || true + + # was-enabled defaults to true, so new installations run enable. + if deb-systemd-helper --quiet was-enabled 'guam.service'; then + # Enables the unit on first installation, creates new + # symlinks on upgrades if the unit file has changed. + deb-systemd-helper enable 'guam.service' >/dev/null || true + else + # Update the statefile to add new symlinks (if any), which need to be + # cleaned up on purge. Also remove old symlinks. + deb-systemd-helper update-state 'guam.service' >/dev/null || true + fi + + # start or restart on install/updated + systemctl --system daemon-reload >/dev/null || true + if [ -n "$2" ]; then + _dh_action=restart + else + _dh_action=start fi + deb-systemd-invoke $_dh_action 'guam.service' >/dev/null || true ;; esac
View file
guam.dsc
Changed
@@ -2,7 +2,7 @@ Source: guam Binary: guam Architecture: any -Version: 0.9.7-1 +Version: 0.9.7-2 Maintainer: Christoph Erhardt <kolab@sicherha.de> Homepage: https://kolab.org/about/guam Standards-Version: 3.9.6
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.