aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/obsolete-packages
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-19 12:55:05 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-19 12:55:05 -0300
commit2b0988af09d51b445a5acd10e0f5a01004f5cb19 (patch)
treefeea1e009a7cda1a40f54c92d73587a36bf2ff00 /share/hydractl/obsolete-packages
parentdcf49792923019d62158145546d18e5625920c4d (diff)
downloadhydra-2b0988af09d51b445a5acd10e0f5a01004f5cb19.tar.gz
hydra-2b0988af09d51b445a5acd10e0f5a01004f5cb19.tar.bz2
Formatting
Diffstat (limited to 'share/hydractl/obsolete-packages')
-rwxr-xr-xshare/hydractl/obsolete-packages8
1 files changed, 2 insertions, 6 deletions
diff --git a/share/hydractl/obsolete-packages b/share/hydractl/obsolete-packages
index f7524d4..1b84ff5 100755
--- a/share/hydractl/obsolete-packages
+++ b/share/hydractl/obsolete-packages
@@ -19,17 +19,13 @@
OBSOLETE="`apt-show-versions | grep 'No available version' | cut -d : -f 1`"
if [ ! -z "$OBSOLETE" ]; then
- echo "Obsolete packages:"
- echo ""
- echo $OBSOLETE
+ echo "Obsolete packages: $OBSOLETE"
fi
if which debsecan &> /dev/null; then
VULNS="`debsecan | grep obsolete | cut -d ' ' -f 2 | uniq`"
if [ ! -z "$VULNS" ]; then
- echo "Obsolete packages with known vulnerabilities:"
- echo ""
- echo $VULNS
+ echo "Obsolete packages with known vulnerabilities: $VULNS"
fi
fi