X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fapt%2Flistbugs;fp=etc%2Fapt%2Flistbugs;h=0000000000000000000000000000000000000000;hb=4864b8f93ef471f914a081d1d509891880d1cdf5;hp=ea205601732a76b0cefcf6d38ac83ffc3a50a4a7;hpb=235e908324b26c996a06cdaf6817438db3532bc1;p=grml-etc-core.git diff --git a/etc/apt/listbugs b/etc/apt/listbugs deleted file mode 100755 index ea20560..0000000 --- a/etc/apt/listbugs +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# Filename: /etc/apt/listbugs -# Purpose: display bugs of current running system (e.g. used inside grml-live) -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2 or any later version. -# Latest change: Son Okt 14 00:21:54 CEST 2007 [mika] -################################################################################ - -[ -n "$SEVERITY" ] || SEVERITY="critical,grave,serious" - -if ! [ -x /usr/sbin/apt-listbugs ] ; then - echo "Error: /usr/sbin/apt-listbugs not available. Exiting." - exit 1 -fi - -if ! [ -x /usr/bin/apt-show-source ] ; then - echo "Error: /usr/bin/apt-show-source not available. Exiting." - exit 1 -fi - -apt-listbugs -s $SEVERITY list \ - $(apt-show-source | grep -v -e 'not installed' -e '--------------' -e \ - 'Version' | awk '{print $4;}' | grep -v '^[() ]*$'| sort | uniq) - -# $ROOTCMD apt-listbugs -s $SEVERITY list \ -# $(dpkg --get-selections| grep ' install' | awk '{print $1}) - -## END OF FILE #################################################################