This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-06-30 14:50:04 +03:00
parent 34c52af610
commit 8e7588c764

View File

@ -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