Codebase list fonts-deva-extra / 87a7168
Added fix for migration of conffile from wrong subdir. Patch from Ubuntu. Kartik Mistry 4 years ago
2 changed file(s) with 18 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1111 * Updated debian/copyright.
1212 * debian/rules:
1313 + Do not use custom compression setting.
14 * debian/preinst:
15 + Handle migration of conffile from wrong subdir. Patch from Ubuntu.
16 (Closes: #866049)
1417
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
1619
1720 fonts-deva-extra (3.0-4) unstable; urgency=medium
1821
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#