summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-01-13 15:33:12 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-01-13 15:33:12 -0500
commit376860489aa0523feb8a7bd6fac3f0a4c5691033 (patch)
tree716e15e4896e1fa67350767a7900cf2bfebb3499 /testing
parentd93881bac7ee2c0a6dd55681cefd08eabde8ec48 (diff)
fullreset script
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/fullreset.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/fullreset.sh b/testing/fullreset.sh
new file mode 100755
index 0000000..ab5d33c
--- /dev/null
+++ b/testing/fullreset.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+pacman -S --needed pacman-contrib
+pacman -R $(comm -23 <(pacman -Qq | sort) <((for i in $(pacman -Qqg base); do pactree -ul "$i"; done) | sort -u))