You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-09-02 12:41:17 +03:00
change code to determine package type
This commit is contained in:
@@ -5007,13 +5007,13 @@ int processCommand(string* arguments)
|
||||
cout << endl;
|
||||
if ( rootUser)
|
||||
{
|
||||
system("rpm -qi mariadb-columnstore-platform > /tmp/columnstore.txt 2>&1");
|
||||
if (oam.checkLogStatus("/tmp/columnstore.txt", "Name"))
|
||||
system("cat /tmp/columnstore.txt");
|
||||
else {
|
||||
system("dpkg -s mariadb-columnstore-platform > /tmp/columnstore.txt 2>&1");
|
||||
if (oam.checkLogStatus("/tmp/columnstore.txt", "Status: install"))
|
||||
system("cat /tmp/columnstore.txt");
|
||||
int rtnCode = system("rpm -qi mariadb-columnstore-platform > /tmp/columnstore.txt 2>&1");
|
||||
if (WEXITSTATUS(rtnCode) == 0)
|
||||
system("cat /tmp/columnstore.txt");
|
||||
else {
|
||||
rtnCode = system("dpkg -s mariadb-columnstore-platform > /tmp/columnstore.txt 2>&1");
|
||||
if (WEXITSTATUS(rtnCode) == 0)
|
||||
system("cat /tmp/columnstore.txt");
|
||||
else {
|
||||
SystemSoftware systemsoftware;
|
||||
oam.getSystemSoftware(systemsoftware);
|
||||
|
Reference in New Issue
Block a user