File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
0.4.1 (2024/08/18)
2
2
BugFix: Added C.UTF-8 default language set for executeCommand function.
3
+ BugFix: Modified code to find pkg db in DragonFlyBSD.
4
+ BugFix: Added reference to new LGPL v2.1 license.
3
5
Added support to NomadBSD.
4
6
Improvement: Show a "Collecting transaction data..." msg before presenting the transaction
5
7
dialog, as it can be quite slow on some systems.
10
12
BugFix: Update FreeBSD pkg wiki site (thanks to eduardo).
11
13
BugFix: Files tab expand all items by default.
12
14
BugFix: Files tab was not being refreshed when switching to remote search.
13
- Updated license to LGPL 2 .1.
15
+ Updated license to LGPL v2 .1.
14
16
Show "Installed on" column while searching for remote pkgs.
15
17
Now using the unified qt-sudo project (https://github.com/aarnt/qt-sudo) for privilege escalation.
16
18
Original file line number Diff line number Diff line change @@ -1357,8 +1357,16 @@ bool Package::hasPkgNGDatabase()
1357
1357
}
1358
1358
else if (UnixCommand::getBSDFlavour () == ectn_DRAGONFLYBSD)
1359
1359
{
1360
- QFile f (ctn_PKGNG_DRAGONFLYBSD_CORE_DB_FILE);
1361
- answer = f.exists ();
1360
+ // Search for any repo-XYZ.sqlite
1361
+ QDir d;
1362
+ QStringList nameFilters;
1363
+ d.setPath (" /var/db/pkg" );
1364
+ nameFilters << " repo-*.sqlite" ;
1365
+ QFileInfoList qfil = d.entryInfoList (nameFilters,QDir::Files);
1366
+ answer = (qfil.size () > 0 );
1367
+
1368
+ // QFile f(ctn_PKGNG_DRAGONFLYBSD_CORE_DB_FILE);
1369
+ // answer = f.exists();
1362
1370
}
1363
1371
else if (UnixCommand::getBSDFlavour () == ectn_HARDENEDBSD)
1364
1372
{
You can’t perform that action at this time.
0 commit comments