snapshot
This commit is contained in:
parent
34c52af610
commit
8e7588c764
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
if [[ $1 == "version" ]]
|
if [[ $1 == "version" ]]
|
||||||
then
|
then
|
||||||
apt-cache show $2 | grep Version:
|
apt-cache show $2 | grep Version: | cut -d":" -f2 | head -n1
|
||||||
else
|
else
|
||||||
if [[ $1 == "description" ]]
|
if [[ $1 == "description" ]]
|
||||||
then
|
then
|
||||||
apt-cache show $2 | grep "Description*" | head -n1
|
apt-cache show $2 | grep 'Description*' | cut -d":" -f2 | head -n1
|
||||||
else
|
else
|
||||||
if [[ $1 == "device" ]]
|
if [[ $1 == "device" ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user