Skip to content

Commit c7e99c1

Browse files
Dtt
1 parent e8b2e6e commit c7e99c1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Checking_base.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
-- 4 Gentoo
88
-- 5 Solus
99

10+
11+
IS_BASE_NOT_FOUND = -1
12+
IS_BASE_ARCH = 0
13+
IS_BASE_DEBIAN = 1
14+
IS_BASE_REDHAT = 2
15+
IS_BASE_ALPINE = 3
16+
IS_BASE_GENTOO = 4
17+
IS_BASE_SOLUS = 5
18+
1019
local function detect_base()
1120
local function readfile(path)
1221
local f = io.open(path, "r")

0 commit comments

Comments
 (0)