mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-12 10:00:01 +01:00
bootstrap: also rm directories
This commit is contained in:
@@ -177,7 +177,8 @@ cleanup_directories() {
|
|||||||
zfs destroy "${bastille_zfs_zpool:?}/${bastille_zfs_prefix:?}/releases/${RELEASE}"
|
zfs destroy "${bastille_zfs_zpool:?}/${bastille_zfs_prefix:?}/releases/${RELEASE}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif [ -d "${bastille_cachedir}/${RELEASE}" ]; then
|
fi
|
||||||
|
if [ -d "${bastille_cachedir}/${RELEASE}" ]; then
|
||||||
if [ -d "${bastille_cachedir}/${RELEASE}" ]; then
|
if [ -d "${bastille_cachedir}/${RELEASE}" ]; then
|
||||||
rm -rf "${bastille_cachedir:?}/${RELEASE}"
|
rm -rf "${bastille_cachedir:?}/${RELEASE}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user