summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-01-21 08:37:55 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-01-21 08:37:55 +0100
commitf589ea107c2c77922307351b0661587f9a640473 (patch)
tree1abc67b49e081c810c9601995dc2119a5275cee4
parent966bcbc7320996ee52697d606a11469f97996765 (diff)
downloadmkinitcpio-f589ea107c2c77922307351b0661587f9a640473.tar.gz
mkinitcpio-f589ea107c2c77922307351b0661587f9a640473.tar.xz
Make sure gzip doesn't delete the man page
The install.sh script compresses our man page, but effectively deletes it. Let's fix that. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index f25ac93..cf4a70a 100755
--- a/install.sh
+++ b/install.sh
@@ -21,5 +21,5 @@ cp -r install/ ${1}/lib/initcpio/
cp -r mkinitcpio.d/ ${1}/etc/mkinitcpio.d
#a2x -d manpage -f manpage mkinitcpio.5.txt
-gzip --best mkinitcpio.5
+gzip -c --best mkinitcpio.5 > mkinitcpio.5.gz
install -D -m644 mkinitcpio.5.gz ${1}/usr/man/man5/mkinitcpio.5.gz