always use a profile directory

If none is specified by commandline, "profile/" is used. This way,
downloaded files don't mix with the original install files.
This commit is contained in:
ac-stef
2017-05-22 19:53:01 +02:00
parent ad5a438b86
commit 271d5b3929
4 changed files with 17 additions and 1 deletions
+5
View File
@@ -204,6 +204,11 @@ void sethomedir(const char *dir)
}
}
bool havehomedir()
{
return homedir[0] != '\0';
}
void addpackagedir(const char *dir)
{
string pdir;