Create required dir for templates link creation
This commit is contained in:
+8
-2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user