summaryrefslogtreecommitdiff
path: root/packages/setpackages
diff options
context:
space:
mode:
authorTom Barrett <tombarrett@siu.edu>2017-03-07 14:38:05 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 14:38:05 -0600
commitb6708cbfe50b8a65f913440c8c764e74f3cc0106 (patch)
tree2922a0e51000f0adfdd82f7ad2d83b71d877f97c /packages/setpackages
parent27db0be335772f069f96999f4f4b1773dc18f719 (diff)
added backup of packages for debian
Diffstat (limited to 'packages/setpackages')
-rwxr-xr-xpackages/setpackages5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/setpackages b/packages/setpackages
new file mode 100755
index 0000000..0168a14
--- /dev/null
+++ b/packages/setpackages
@@ -0,0 +1,5 @@
+#!/bin/bash
+dpkg --clear-selections
+dpkg --set-selections < list.txt
+apt-get autoremove
+apt-get dselect-upgrade