summaryrefslogtreecommitdiff
path: root/etc/functions
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-20 15:22:24 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-20 15:22:24 +0100
commit3a1889442e9a278be286fa311b076229c4cef350 (patch)
treed64e81006f3aa1c0e995136d2bf51bff679c87fd /etc/functions
parent62e80439c3285f5a1ca615c64daff1dc6e5b3b6b (diff)
Add dpkg functions from mxey's zsh
Diffstat (limited to 'etc/functions')
-rw-r--r--etc/functions/dpkg-hold1
-rw-r--r--etc/functions/dpkg-unhold1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/functions/dpkg-hold b/etc/functions/dpkg-hold
new file mode 100644
index 0000000..b905114
--- /dev/null
+++ b/etc/functions/dpkg-hold
@@ -0,0 +1 @@
+echo $1 hold | sudo dpkg --set-selections
diff --git a/etc/functions/dpkg-unhold b/etc/functions/dpkg-unhold
new file mode 100644
index 0000000..7bc785b
--- /dev/null
+++ b/etc/functions/dpkg-unhold
@@ -0,0 +1 @@
+echo $1 install | sudo dpkg --set-selections