Only mention tix-install destination if not the root directory.

This commit is contained in:
Jonas 'Sortie' Termansen 2017-09-30 17:47:00 +02:00
parent 48e41b36a3
commit 645ab7689c
1 changed files with 6 additions and 1 deletions

View File

@ -305,7 +305,12 @@ void InstallPackage(const char* tix_path)
}
if ( !quiet )
printf("Installing `%s' into `%s'...\n", package_name, collection);
{
printf("Installing %s", package_name);
if ( strcmp(collection, "/") != 0 )
printf(" into `%s'\n", collection);
printf("...\n");
}
char* data_and_prefix = package_prefix && package_prefix[0] ?
print_string("data%s", package_prefix) :