Ensure the sym directory exist when the package installer is never in use.

This commit is contained in:
vectorsigma72 2020-05-11 20:01:02 +02:00
parent 56c4e4dd48
commit 9dcb75cbd9

View File

@ -203,6 +203,7 @@ local withClover=${1-"none"}
if [[ "$SYSNAME" == Darwin ]]; then if [[ "$SYSNAME" == Darwin ]]; then
if [[ -f "${CLOVERROOT}"/CloverPackage/CloverV2/EFI/CLOVER/CLOVERX64.efi ]]; then if [[ -f "${CLOVERROOT}"/CloverPackage/CloverV2/EFI/CLOVER/CLOVERX64.efi ]]; then
rm -f "${CLOVERROOT}"/CloverPackage/sym/.withV2 rm -f "${CLOVERROOT}"/CloverPackage/sym/.withV2
mkdir -p "${CLOVERROOT}"/CloverPackage/sym
if [[ $withClover == withV2 ]]; then if [[ $withClover == withV2 ]]; then
touch "${CLOVERROOT}"/CloverPackage/sym/.withV2 touch "${CLOVERROOT}"/CloverPackage/sym/.withV2
fi fi