message: Do not create data directories if 'global_data_dir' is set to true
diff: @@ -200,7 +200,11 @@ async fn install_internal(
  )
  .await?;
  - let data = SETTINGS.directories.data_dir.join(&manifest.name);
  + let data = if SETTINGS.global_data_dir {
  + SETTINGS.directories.data_dir.clone()
  + } else {
  + SETTINGS.directories.data_dir.join(&manifest.name)
  + };
  if !data.exists().await {
  fs::create_dir_all(&data)
  .await
  @@ -221,12 +225,6 @@ async fn install_internal(
  })?;
  }
  - let data = if SETTINGS.global_data_dir {
  - SETTINGS.directories.data_dir.clone()
  - } else {
  - SETTINGS.directories.data_dir.join(&manifest.name)
  - };
  -
  let container = Container {
  root,
  data,
  