summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-12-10 09:26:04 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-12-10 09:26:04 +0000
commitba3959fbfa5d62ecd24dd455101e126f830627ab (patch)
treecc7e18080460dbf717b0914b01b41bd91885e41b
parentUpdating upstream signing key. (diff)
downloadplzip-ba3959fbfa5d62ecd24dd455101e126f830627ab.tar.xz
plzip-ba3959fbfa5d62ecd24dd455101e126f830627ab.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 42332df..6fe2ac9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,11 +10,12 @@ override_dh_auto_install:
# alternative handling
mv debian/plzip/usr/bin/plzip debian/plzip/usr/bin/lzip.plzip
- mv debian/plzip/usr/share/info/plzip.info debian/plzip/usr/share/info/lzip.plzip.info
- mv debian/plzip/usr/share/man/man1/plzip.1 debian/plzip/usr/share/man/man1/lzip.plzip.1
-
ln -s /usr/bin/lzip.plzip debian/plzip/usr/bin/plzip
+
+ mv debian/plzip/usr/share/info/plzip.info debian/plzip/usr/share/info/lzip.plzip.info
ln -s /usr/share/info/lzip.plzip.info.gz debian/plzip/usr/share/info/plzip.info.gz
+
+ mv debian/plzip/usr/share/man/man1/plzip.1 debian/plzip/usr/share/man/man1/lzip.plzip.1
ln -s /usr/share/man/man1/lzip.plzip.1.gz debian/plzip/usr/share/man/man1/plzip.1.gz
# removing unused files