]> piware.de Git - bin.git/commitdiff
drop update-installed-deb, dpkg -iO works as well
authorMartin Pitt <martin@piware.de>
Thu, 12 Apr 2012 16:44:47 +0000 (18:44 +0200)
committerMartin Pitt <martin@piware.de>
Thu, 12 Apr 2012 16:44:47 +0000 (18:44 +0200)
update-installed-deb [deleted file]

diff --git a/update-installed-deb b/update-installed-deb
deleted file mode 100755 (executable)
index b0de93a..0000000
+++ /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