angstrom-version: enhance lsb_release
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -9,6 +9,10 @@ case $1 in
|
||||
"-i")
|
||||
echo "Distributor ID: Angstrom"
|
||||
;;
|
||||
"-ir")
|
||||
echo "Distributor ID: Angstrom"
|
||||
echo "Release: $VERSION"
|
||||
;;
|
||||
"-irc")
|
||||
echo "Distributor ID: Angstrom"
|
||||
echo "Release: $VERSION"
|
||||
@@ -20,6 +24,10 @@ case $1 in
|
||||
"-r")
|
||||
echo "Release: $VERSION"
|
||||
;;
|
||||
"-ri")
|
||||
echo "Release: $VERSION"
|
||||
echo "Distributor ID: Angstrom"
|
||||
;;
|
||||
"-c")
|
||||
echo "Codename: $CODENAME"
|
||||
;;
|
||||
@@ -32,6 +40,9 @@ case $1 in
|
||||
"-s")
|
||||
echo "No LSB modules are available."
|
||||
;;
|
||||
"-sc")
|
||||
echo "$CODENAME"
|
||||
;;
|
||||
*)
|
||||
echo "Usage: lsb_release [options]"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user