diff --git a/cmd/linux.go b/cmd/linux.go index 81dcd6fc0..8c710a64b 100644 --- a/cmd/linux.go +++ b/cmd/linux.go @@ -71,6 +71,8 @@ const ( Crux // RHEL distribution RHEL + // Artix linux distribution + ArtixLinux ) // DistroInfo contains all the information relating to a linux distribution @@ -183,6 +185,8 @@ func parseOsRelease(osRelease string) *DistroInfo { result.Distribution = EndeavourOS case "crux": result.Distribution = Crux + case "artix": + result.Distribution = ArtixLinux default: result.Distribution = Unknown } diff --git a/cmd/linuxdb.yaml b/cmd/linuxdb.yaml index 37aac0b57..c2b3ef34d 100644 --- a/cmd/linuxdb.yaml +++ b/cmd/linuxdb.yaml @@ -213,6 +213,15 @@ distributions: gccversioncommand: *gccdumpversion programs: *archdefaultprograms libraries: *archdefaultlibraries + artix: + id: artix + releases: + default: + version: default + name: Artix Linux + gccversioncommand: *gccdumpversion + programs: *archdefaultprograms + libraries: *archdefaultlibraries ctlos: id: ctlos releases: diff --git a/cmd/system.go b/cmd/system.go index 76ab0b23c..56d17242a 100644 --- a/cmd/system.go +++ b/cmd/system.go @@ -281,7 +281,7 @@ func CheckDependencies(logger *Logger) (bool, error) { switch distroInfo.Distribution { case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary, Kali, Neon, Deepin, Raspbian, PopOS: libraryChecker = DpkgInstalled - case Arch, ArcoLinux, ArchLabs, Ctlos, Manjaro, ManjaroARM, EndeavourOS: + case Arch, ArcoLinux, ArchLabs, Ctlos, Manjaro, ManjaroARM, EndeavourOS, ArtixLinux: libraryChecker = PacmanInstalled case CentOS, Fedora, Tumbleweed, Leap, RHEL: libraryChecker = RpmInstalled