From: Martin Pitt Date: Thu, 12 Apr 2012 16:44:47 +0000 (+0200) Subject: drop update-installed-deb, dpkg -iO works as well X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=3d7ac572503687c997882811529122a03dbee83c;p=bin.git drop update-installed-deb, dpkg -iO works as well --- diff --git a/update-installed-deb b/update-installed-deb deleted file mode 100755 index b0de93a..0000000 --- a/update-installed-deb +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -set -e - -if [ `id -u` = 0 ]; then - SUDO= -else - SUDO=sudo -fi - -P="" -for deb in *.deb; do - if dpkg -s ${deb%%_*} 2>/dev/null|grep -q '^Status:'; then - P="$P $deb" - else - echo "Skipping $deb, not installed" - fi -done - -$SUDO dpkg -i $P