Migrate kickstart.codename into kickstart.os namespace
This commit is contained in:
parent
36a1a1a04e
commit
3635cab96b
@ -1,7 +1,3 @@
|
|||||||
kickstart.codename() {
|
|
||||||
lsb_release -sc
|
|
||||||
}
|
|
||||||
|
|
||||||
kickstart.info() {
|
kickstart.info() {
|
||||||
[ "$kickstart_context" ] && echo "$kickstart_context >> $@" >&2 || echo "$@" >&2
|
[ "$kickstart_context" ] && echo "$kickstart_context >> $@" >&2 || echo "$@" >&2
|
||||||
}
|
}
|
||||||
|
@ -7,3 +7,7 @@ kickstart.os.is() {
|
|||||||
[[ `kickstart.os` == "$1" ]]
|
[[ `kickstart.os` == "$1" ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kickstart.os.codename() {
|
||||||
|
lsb_release -sc
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user