forked from extern/shorewall_code
Fix -lite installer
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f8f599c1db
commit
58d8ee79f8
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user