Added fix for migration of conffile from wrong subdir. Patch from Ubuntu.
Kartik Mistry
4 years ago
11 | 11 |
* Updated debian/copyright.
|
12 | 12 |
* debian/rules:
|
13 | 13 |
+ Do not use custom compression setting.
|
|
14 |
* debian/preinst:
|
|
15 |
+ Handle migration of conffile from wrong subdir. Patch from Ubuntu.
|
|
16 |
(Closes: #866049)
|
14 | 17 |
|
15 | |
-- Kartik Mistry <kartik@debian.org> Mon, 13 Apr 2020 20:37:14 +0530
|
|
18 |
-- Kartik Mistry <kartik@debian.org> Mon, 13 Apr 2020 21:46:10 +0530
|
16 | 19 |
|
17 | 20 |
fonts-deva-extra (3.0-4) unstable; urgency=medium
|
18 | 21 |
|
|
0 |
#!/bin/sh
|
|
1 |
set -e
|
|
2 |
|
|
3 |
broken_dir=/etc/fonts/conf.avail/65-0-fonts-deva-extra.conf
|
|
4 |
|
|
5 |
if dpkg --compare-versions "$2" lt-nl 3.0-5 \
|
|
6 |
&& [ -d "$broken_dir" ]; then
|
|
7 |
# wonderful hack to replace a wrong directory with a conffile.
|
|
8 |
mv "$broken_dir" "$broken_dir".tmp
|
|
9 |
mv "$broken_dir.tmp/65-0-fonts-deva-extra.conf" /etc/fonts/conf.avail
|
|
10 |
rmdir --ignore-fail-on-non-empty "$broken_dir".tmp
|
|
11 |
fi
|
|
12 |
|
|
13 |
#DEBHELPER#
|