summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-06-24 23:29:33 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-06-24 23:29:33 +0000
commit7fe076fb1aae6112afa3bd62e5863b8ea07e9e7b (patch)
tree80932288169a93af0645748c953315044c3db444 /debian/rules
parentd7f8a4b605fb12051b1ee4aa732d490382b6ab9a (diff)
downloadksh-7fe076fb1aae6112afa3bd62e5863b8ea07e9e7b.tar.gz
Ported to Dyson with these point:
1. ksh is the default system shell (used in SMF scripts) 2. /bin is a symlink to /usr/bin
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