mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-11 01:10:57 +01:00
Create required dir for templates link creation
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
======================
|
======================
|
||||||
Version Description
|
Version Description
|
||||||
|
|
||||||
|
1.1.02......Create required dir for templates link creation.
|
||||||
1.1.01......Cosmetic changes, update maintenance page.
|
1.1.01......Cosmetic changes, update maintenance page.
|
||||||
1.1.00......Initial support for Linux jails(experimental).
|
1.1.00......Initial support for Linux jails(experimental).
|
||||||
1.0.99......Include freebsd-update files for 12.3 release.
|
1.0.99......Include freebsd-update files for 12.3 release.
|
||||||
|
|||||||
10
unionfs.sh
10
unionfs.sh
@@ -60,8 +60,10 @@ platform_check()
|
|||||||
if [ "${PRDPLATFORM}" = "x64-embedded" ]; then
|
if [ "${PRDPLATFORM}" = "x64-embedded" ]; then
|
||||||
pkg_symlink
|
pkg_symlink
|
||||||
else
|
else
|
||||||
echo "Cleaning the pkg cache."
|
if [ -d "/var/cache/pkg" ]; then
|
||||||
pkg clean -y -a
|
echo "Cleaning the pkg cache."
|
||||||
|
pkg clean -y -a
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -172,6 +174,10 @@ extract_pkg() {
|
|||||||
echo "Cleaning the pkg cache."
|
echo "Cleaning the pkg cache."
|
||||||
pkg clean -y -a
|
pkg clean -y -a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "${CWDIR}/templates" ]; then
|
||||||
|
mkdir -p ${CWDIR}/templates
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
unionfs_on() {
|
unionfs_on() {
|
||||||
|
|||||||
Reference in New Issue
Block a user