From 8e7588c7644d3781d776367c69c61826ca645d6e Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" Date: Fri, 30 Jun 2023 14:50:04 +0300 Subject: [PATCH] snapshot --- data/generate_package_info.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/generate_package_info.sh b/data/generate_package_info.sh index 539dc4c..b783b75 100755 --- a/data/generate_package_info.sh +++ b/data/generate_package_info.sh @@ -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