[med-svn] [Git][med-team/dcmtk][master] 3 commits: Add maintscript to remove outdated conffiles
Andreas Tille (@tille)
gitlab at salsa.debian.org
Tue Dec 6 11:51:40 GMT 2022
Andreas Tille pushed to branch master at Debian Med / dcmtk
Commits:
e3b0ad4c by Andreas Tille at 2022-12-06T11:49:27+01:00
Add maintscript to remove outdated conffiles
- - - - -
90045e1a by Andreas Tille at 2022-12-06T11:52:34+01:00
On purge remove /var/lib/dcmtk/db/STORESCP if exists
- - - - -
e6fdde0b by Andreas Tille at 2022-12-06T12:14:30+01:00
Upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/dcmtk.maintscript
- debian/dcmtk.postrm
Changes:
=====================================
debian/changelog
=====================================
@@ -1,14 +1,18 @@
-dcmtk (3.6.7-7) UNRELEASED; urgency=medium
+dcmtk (3.6.7-7) unstable; urgency=medium
[ Andreas Tille ]
* Team upload.
* Prevent bashism in run-unit-test
* Enable running run-unit-test from any directory
+ * Add maintscript to remove outdated conffiles
+ Closes: #990134
+ * On purge remove /var/lib/dcmtk/db/STORESCP if exists
+ Closes: #990135
[ Mathieu Malaterre ]
* d/control: Add missing dependency on libjs-jquery. Closes: #989108
- -- Mathieu Malaterre <malat at debian.org> Mon, 07 Nov 2022 11:23:51 +0100
+ -- Andreas Tille <tille at debian.org> Tue, 06 Dec 2022 11:52:52 +0100
dcmtk (3.6.7-6) unstable; urgency=medium
=====================================
debian/dcmtk.maintscript
=====================================
@@ -0,0 +1,4 @@
+rm_conffile /etc/init.d/storescp
+rm_conffile /etc/init.d/dcmqrscp
+rm_conffile /etc/default/storescp
+rm_conffile /etc/default/dcmqrscp
=====================================
debian/dcmtk.postrm
=====================================
@@ -13,6 +13,10 @@ if [ "$1" = "purge" ] ; then
if [ -e /etc/init.d/imagectn.dpkg-old ]; then
rm -f /etc/init.d/imagectn.dpkg-old
fi
+
+ if [ -d /var/lib/dcmtk/db/STORESCP ]; then
+ rm -f /var/lib/dcmtk/db/STORESCP
+ fi
fi
# Remove dcmtk user/group if they exist on cleanup
View it on GitLab: https://salsa.debian.org/med-team/dcmtk/-/compare/3c6980205170c0d5346e5ed42c2146e21e9dc9d1...e6fdde0b35acf9c66874d6bbdb2f396b0721536a
--
View it on GitLab: https://salsa.debian.org/med-team/dcmtk/-/compare/3c6980205170c0d5346e5ed42c2146e21e9dc9d1...e6fdde0b35acf9c66874d6bbdb2f396b0721536a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20221206/69b5467c/attachment-0001.htm>
More information about the debian-med-commit
mailing list