summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-09-11 18:35:33 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-09-19 00:11:01 +0200
commit19613eb947f676350afdf559a79213fb319819f3 (patch)
tree3b19e08b1db983520c6c36aa469a7316c4330099
parentd19898bb467a9f5c6334745f7e95d1d26f7aedea (diff)
downloadmkinitcpio-19613eb947f676350afdf559a79213fb319819f3.tar.gz
mkinitcpio-19613eb947f676350afdf559a79213fb319819f3.tar.xz
Remove obsolete install script.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rwxr-xr-xinstall.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/install.sh b/install.sh
deleted file mode 100755
index c17bb9e..0000000
--- a/install.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-[ $# -ne 1 ] && echo "install.sh <root install path>" && exit 1
-mkdir -p ${1}/sbin
-mkdir -p ${1}/lib/initcpio
-mkdir -p ${1}/etc
-
-sed -e 's|CONFIG="mkinitcpio.conf"|CONFIG="/etc/mkinitcpio.conf"|g' \
- -e 's|FUNCTIONS="functions"|FUNCTIONS="/lib/initcpio/functions"|g' \
- -e 's|HOOKDIR="hooks"|HOOKDIR="/lib/initcpio/hooks"|g' \
- -e 's|INSTDIR="install"|INSTDIR="/lib/initcpio/install"|g' \
- -e 's|PRESETDIR="mkinitcpio.d"|PRESETDIR="/etc/mkinitcpio.d"|g' \
- < mkinitcpio > ${1}/sbin/mkinitcpio
-chmod 755 ${1}/sbin/mkinitcpio
-
-install -D -m644 mkinitcpio.conf ${1}/etc/mkinitcpio.conf
-install -D -m755 init ${1}/lib/initcpio/init
-install -D -m755 init_functions ${1}/lib/initcpio/init_functions
-install -D -m644 functions ${1}/lib/initcpio/functions
-cp -r hooks/ ${1}/lib/initcpio/
-cp -r install/ ${1}/lib/initcpio/
-cp -r mkinitcpio.d/ ${1}/etc/mkinitcpio.d
-
-#a2x -d manpage -f manpage mkinitcpio.5.txt
-gzip -c --best mkinitcpio.5 > mkinitcpio.5.gz
-install -D -m644 mkinitcpio.5.gz ${1}/usr/man/man5/mkinitcpio.5.gz