summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-04-24 11:11:07 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-04-24 11:11:07 +0200
commit36b1bdf0f02c3bf6c38b8f7c6dce10b684ad5537 (patch)
tree0666cc9cc8e0d685e8d362bedfb68a7558abfedf
parentcbd057a47576f5fac0ee65d60a11360e8571174d (diff)
Add dpkg-hold / dpkg-unhold
-rwxr-xr-xbin/dpkg-hold3
-rwxr-xr-xbin/dpkg-unhold3
2 files changed, 6 insertions, 0 deletions
diff --git a/bin/dpkg-hold b/bin/dpkg-hold
new file mode 100755
index 0000000..02236ba
--- /dev/null
+++ b/bin/dpkg-hold
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "${1}" hold | dpkg --set-selections
diff --git a/bin/dpkg-unhold b/bin/dpkg-unhold
new file mode 100755
index 0000000..6a6975a
--- /dev/null
+++ b/bin/dpkg-unhold
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "${1}" install | dpkg --set-selections