Fix -lite installer

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-04-07 11:57:38 -07:00
parent f8f599c1db
commit 58d8ee79f8

View File

@ -344,21 +344,7 @@ fi
if [ -n "$INITFILE" ]; then
initfile="${DESTDIR}/${INITDIR}/${INITFILE}"
case $TARGET in
debian)
install_file init.debian.sh "$initfile" 0544
;;
redhat)
install_file init.fedora.sh "$initfile" 0544
;;
archlinux)
install_file init.archlinux.sh "$initfile" 0544
;;
*)
install_file init.sh "$initfile" 0544
;;
esac
install_file ${INITSOURCE} "$initfile" 0544
[ "${SHAREDIR}" = /usr/share ] || eval sed -i \'s\|/usr/share/\|${SHAREDIR}/\|\' "$initfile"