From a60bfa1167bf7a31e15770c05974a1d81acf3bdd Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Thu, 18 Jan 2024 16:51:57 +0100 Subject: [PATCH 1/2] fix debian update home dir error --- CHANGES.md | 8 ++++++++ debian/changelog | 6 ++++++ debian/postinst | 2 ++ src/screamshotter/VERSION | 2 +- 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 644d4cd6..db9e1826 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,14 @@ CHANGELOG ========= +2.2.1+dev (XXXX-XX-XX) +------------------------- + +**Bugfix**: + +* Fix chromium crash after debian update from previous version + + 2.2.1 (2024-01-11) ------------------------- diff --git a/debian/changelog b/debian/changelog index dce44529..5aac686b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +screamshotter (2.2.1+dev) UNRELEASED; urgency=medium + + * Fix chromium crash after debian update from previous version + + -- Jean-Etienne Castagnede Thu, 18 Jan 2024 16:51:00 +0100 + screamshotter (2.2.1) RELEASED; urgency=medium * Ignore SSL errors with external browser diff --git a/debian/postinst b/debian/postinst index 51e84fea..6da5d179 100644 --- a/debian/postinst +++ b/debian/postinst @@ -34,6 +34,8 @@ END chown screamshotter.screamshotter $CONF_DIR/$f || true done +usermod -d /opt/screamshotter screamshotter || true # set home directory for old installation without + screamshotter collectstatic --no-input #DEBHELPER# diff --git a/src/screamshotter/VERSION b/src/screamshotter/VERSION index fae692e4..5af2e8d9 100644 --- a/src/screamshotter/VERSION +++ b/src/screamshotter/VERSION @@ -1 +1 @@ -2.2.1 \ No newline at end of file +2.2.1+dev \ No newline at end of file From c9aab7057f6a6c8b07e099ae3d97a734e46da60d Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Thu, 18 Jan 2024 17:25:53 +0100 Subject: [PATCH 2/2] force stop service --- debian/postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/postinst b/debian/postinst index 6da5d179..077926ab 100644 --- a/debian/postinst +++ b/debian/postinst @@ -34,6 +34,7 @@ END chown screamshotter.screamshotter $CONF_DIR/$f || true done +systemctl stop screamshotter || true usermod -d /opt/screamshotter screamshotter || true # set home directory for old installation without screamshotter collectstatic --no-input