diff --git a/Shorewall-lite/install.sh b/Shorewall-lite/install.sh index 453a84a43..0c6d8cc0e 100755 --- a/Shorewall-lite/install.sh +++ b/Shorewall-lite/install.sh @@ -381,7 +381,7 @@ fi if [ -n "$INITFILE" ]; then if [ -f "${INITSOURCE}" ]; then - initfile="${DESTDIR}/${INITDIR}/${INITFILE}" + initfile="${DESTDIR}${INITDIR}/${INITFILE}" install_file ${INITSOURCE} "$initfile" 0544 [ "${SHAREDIR}" = /usr/share ] || eval sed -i \'s\|/usr/share/\|${SHAREDIR}/\|\' "$initfile" diff --git a/Shorewall/install.sh b/Shorewall/install.sh index c1176d668..f3ca8e904 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -396,7 +396,7 @@ echo "$PRODUCT control program installed in ${DESTDIR}${SBINDIR}/$PRODUCT" # if [ -n "$INITFILE" ]; then if [ -f "${INITSOURCE}" ]; then - initfile="${DESTDIR}/${INITDIR}/${INITFILE}" + initfile="${DESTDIR}${INITDIR}/${INITFILE}" install_file $INITSOURCE "$initfile" 0544 [ "${SHAREDIR}" = /usr/share ] || eval sed -i \'s\|/usr/share/\|${SHAREDIR}/\|\' "$initfile"