summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-12-10 09:19:39 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-12-10 09:19:39 +0000
commit8062c6b32ea8d4f480a2307e82ee9b3b1ec4561b (patch)
tree80ba256d39e651b34e1435be5934b3e6bf158e93
parentUpdating upstream signing key. (diff)
downloadclzip-8062c6b32ea8d4f480a2307e82ee9b3b1ec4561b.tar.xz
clzip-8062c6b32ea8d4f480a2307e82ee9b3b1ec4561b.zip
Sorting alternatives handling in rules.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
-rwxr-xr-xdebian/rules7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 365f97a..887166d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,12 @@ override_dh_auto_install:
# alternative handling
mv debian/clzip/usr/bin/clzip debian/clzip/usr/bin/lzip.clzip
- mv debian/clzip/usr/share/info/clzip.info debian/clzip/usr/share/info/lzip.clzip.info
- mv debian/clzip/usr/share/man/man1/clzip.1 debian/clzip/usr/share/man/man1/lzip.clzip.1
-
ln -s /usr/bin/lzip.clzip debian/clzip/usr/bin/clzip
+
+ mv debian/clzip/usr/share/info/clzip.info debian/clzip/usr/share/info/lzip.clzip.info
ln -s /usr/share/info/lzip.clzip.info.gz debian/clzip/usr/share/info/clzip.info.gz
+
+ mv debian/clzip/usr/share/man/man1/clzip.1 debian/clzip/usr/share/man/man1/lzip.clzip.1
ln -s /usr/share/man/man1/lzip.clzip.1.gz debian/clzip/usr/share/man/man1/clzip.1.gz
# removing unused files