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