Package: apt-move / 4.2.27-5

drop-contents-header.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Author: Paul Wise <pabs@debian.org>
Forwarded: no
Description: Drop Contents.head since it has no useful purpose.
 
 https://bugs.debian.org/676642
 https://bugs.debian.org/841997
 https://bugs.launchpad.net/bugs/1638219
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@
 	install -p apt-move $(BINDIR)
 	install fetch $(LIBDIR)
 	install del1 move3 pkg1 $(SHAREDIR)
-	install -m 644 get[23] move[4-7] *.awk Contents.head $(SHAREDIR)
+	install -m 644 get[23] move[4-7] *.awk $(SHAREDIR)
 	cp -p apt-move.conf $(CONFDIR)
 	cp -p apt-move.8 $(MANDIR)
 
--- a/apt-move
+++ b/apt-move
@@ -1402,7 +1402,7 @@
 					printf "%-59s %s\n", prev, pkg
 				}
 			}
-		' | unexpand -a | cat $SCRIPTS/Contents.head - | gzip > $j.gz
+		' | unexpand -a | gzip > $j.gz
 		rm $j
 	done
 }