summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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