blob: 9f0365942c07c47684d2ff2b7a5c6d288e02fa5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <stdio.h>
#define ERROR -1
enum os
{
dnf, /* Fedora */
emerge, /* Gentoo */
pacman, /* Arch */
xbps, /* Void */
zypper, /* OpenSUSE */
apt, /* Debian */
ENUMSIZE
};
int checkIfFileExists (char *path);
int detectOsType ();
char *stringedArgument (int argc, char **argv);
void commandProcessor (char *packages, char *initCommand);
|