OSDN Git Service
(root)
/
pinky-bar
/
pinky-bar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7ae5a1
)
Add two more distros
author
a
<a@b.c>
Mon, 26 Mar 2018 12:02:51 +0000
(14:02 +0200)
committer
a
<a@b.c>
Mon, 26 Mar 2018 12:02:51 +0000
(14:02 +0200)
README.md
patch
|
blob
|
history
set.pl
patch
|
blob
|
history
src/common.c
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index
7c1bdd2
..
34a29c4
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-371,6
+371,8
@@
Replace **distro** with the following [bases](https://en.wikipedia.org/wiki/List
- [x] tinycorelinux
- [x] nixos
- [x] paldo
+- [x] dragora
+- [x] guixsd
Cannot list the \*BSD flavours as "distros", so they deserve own options:
diff --git
a/set.pl
b/set.pl
index
6e86529
..
c06e1ae
100644
(file)
--- a/
set.pl
+++ b/
set.pl
@@
-95,7
+95,7
@@
sub reflace_single {
my $osEntered = uc $ARGV[0];
my @osArr = (
- "PALDO",
+ "PALDO",
"DRAGORA","GUIXSD",
"SLITAZ","TINYCORELINUX","NIXOS",
"ARCHLINUX","DEBIAN","ALPINELINUX",
"GENTOO","SLACKWARE","CRUX",
diff --git
a/src/common.c
b/src/common.c
index
da420a8
..
f0ad295
100644
(file)
--- a/
src/common.c
+++ b/
src/common.c
@@
-228,6
+228,12
@@
get_packs(char *str1) {
#elif defined(GENTOO)
packages = glob_packages("/var/db/pkg/*/*");
+#elif defined(DRAGORA)
+ packages = glob_packages("/var/db/pkg/*");
+
+#elif defined(GUIXSD)
+ packages = glob_packages("/guix/store/*");
+
#elif defined(RHEL)
#pragma GCC diagnostic push