summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
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