Create required dir for templates link creation

This commit is contained in:
JRGTH
2021-12-18 00:58:42 -04:00
parent d9e8e5aedf
commit c1bb8d0cfc
3 changed files with 10 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
======================
Version Description
1.1.02......Create required dir for templates link creation.
1.1.01......Cosmetic changes, update maintenance page.
1.1.00......Initial support for Linux jails(experimental).
1.0.99......Include freebsd-update files for 12.3 release.

View File

@@ -60,8 +60,10 @@ platform_check()
if [ "${PRDPLATFORM}" = "x64-embedded" ]; then
pkg_symlink
else
echo "Cleaning the pkg cache."
pkg clean -y -a
if [ -d "/var/cache/pkg" ]; then
echo "Cleaning the pkg cache."
pkg clean -y -a
fi
fi
}
@@ -172,6 +174,10 @@ extract_pkg() {
echo "Cleaning the pkg cache."
pkg clean -y -a
fi
if [ ! -d "${CWDIR}/templates" ]; then
mkdir -p ${CWDIR}/templates
fi
}
unionfs_on() {

View File

@@ -1 +1 @@
1.1.01
1.1.02