summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index f9e11bd..d91290c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,7 +45,10 @@ install: build
dh_testdir
dh_testroot
dh_installdirs
- $(INSTALL_PROGRAM) arch/$(ARCH)/bin/ksh debian/ksh/bin/ksh93
+ $(INSTALL_PROGRAM) arch/$(ARCH)/bin/ksh debian/ksh/sbin/ksh93
+ dh_link -pksh /sbin/ksh93 /usr/bin/ksh93
+ dh_link -pksh /sbin/ksh93 /sbin/ksh
+ dh_link -pksh /sbin/ksh93 /sbin/sh
$(INSTALL_PROGRAM) arch/$(ARCH)/bin/shcomp debian/ksh/usr/bin/shcomp
$(INSTALL_FILE) arch/$(ARCH)/man/man1/sh.1 debian/ksh/usr/share/man/man1/ksh93.1
$(INSTALL_FILE) arch/$(ARCH)/fun/* debian/ksh/usr/share/ksh/functions