mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-02 10:49:48 +01:00
fix merge conflict
This commit is contained in:
@@ -183,7 +183,6 @@ bootstrap_directories() {
|
||||
if [ -n "${bastille_zfs_zpool}" ]; then
|
||||
zfs create ${bastille_zfs_options} -o mountpoint="${bastille_prefix}" "${bastille_zfs_zpool}/${bastille_zfs_prefix}"
|
||||
chmod 0750 "${bastille_prefix}"
|
||||
|
||||
fi
|
||||
else
|
||||
mkdir -p "${bastille_prefix}"
|
||||
@@ -194,10 +193,9 @@ bootstrap_directories() {
|
||||
## ${bastille_backupsdir}
|
||||
if [ ! -d "${bastille_backupsdir}" ]; then
|
||||
if [ "${bastille_zfs_enable}" = "YES" ];then
|
||||
|
||||
if [ -n "${bastille_zfs_zpool}" ]; then
|
||||
zfs create ${bastille_zfs_options} -o mountpoint="${bastille_backupsdir}" "${bastille_zfs_zpool}/${bastille_zfs_prefix}/backups"
|
||||
chmod 0750 "${bastille_backupsdir}"
|
||||
chmod 0750 "${bastille_prefix}"
|
||||
fi
|
||||
else
|
||||
mkdir -p "${bastille_backupsdir}"
|
||||
|
||||
Reference in New Issue
Block a user