Changes from LFS-20161210.
This commit is contained in:
parent
5879b974db
commit
9d0c01f83d
@ -9,6 +9,8 @@
|
|||||||
#
|
#
|
||||||
# Changes:
|
# Changes:
|
||||||
#
|
#
|
||||||
|
# 20161210 - Fix creation of PKI dir when NSS not installed
|
||||||
|
# - Add message about --force swich when no update required
|
||||||
# 20161126 - Add -D/--destdir switch
|
# 20161126 - Add -D/--destdir switch
|
||||||
# 20161124 - Add -f/--force switch to bypass version check
|
# 20161124 - Add -f/--force switch to bypass version check
|
||||||
# - Add multiple switches to allow for alternate localtions
|
# - Add multiple switches to allow for alternate localtions
|
||||||
@ -318,7 +320,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "${OLDVERSION}x" == "${VERSION}x"; then
|
if test "${OLDVERSION}x" == "${VERSION}x"; then
|
||||||
echo "No update required!"
|
echo "No update required! Use --force to update anyway."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -553,7 +555,8 @@ fi
|
|||||||
# Populate a duplicate anchor directory
|
# Populate a duplicate anchor directory
|
||||||
test -d "${DESTDIR}${ANCHORDIR}" && mv "${DESTDIR}${ANCHORDIR}" \
|
test -d "${DESTDIR}${ANCHORDIR}" && mv "${DESTDIR}${ANCHORDIR}" \
|
||||||
"${DESTDIR}${ANCHORDIR}.old"
|
"${DESTDIR}${ANCHORDIR}.old"
|
||||||
cp -R "${DESTDIR}${CERTDIR}" "${DESTDIR}${ANCHORDIR}"
|
install -vdm755 "${DESTDIR}${ANCHORDIR}"
|
||||||
|
cp "${DESTDIR}${CERTDIR}"/*.pem "${DESTDIR}${ANCHORDIR}"
|
||||||
rm -rf "${DESTDIR}${ANCHORDIR}.old"
|
rm -rf "${DESTDIR}${ANCHORDIR}.old"
|
||||||
|
|
||||||
/usr/bin/c_rehash "${DESTDIR}${CERTDIR}" 2>&1>/dev/null
|
/usr/bin/c_rehash "${DESTDIR}${CERTDIR}" 2>&1>/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user