summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2006-10-17 00:42:18 +0200
committerThomas Bächler <thomas@archlinux.org>2006-10-17 00:42:18 +0200
commitda24b3230234a6d73a7ea1d52422245522201d26 (patch)
tree8d91dad66a9184446fb9cafca381d26790707c34 /install.sh
parent3ac39b71e7a0a6d04a34f5f52b0b11493fc9bd65 (diff)
downloadmkinitcpio-da24b3230234a6d73a7ea1d52422245522201d26.tar.gz
mkinitcpio-da24b3230234a6d73a7ea1d52422245522201d26.tar.xz
added initial preset support
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@178 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index a704f29..465af40 100755
--- a/install.sh
+++ b/install.sh
@@ -8,6 +8,7 @@ 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